• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -disassemble -triple thumbv8 -mattr=+db -show-encoding 2>%t < %s | FileCheck %s
2# RUN: FileCheck -allow-empty -check-prefix=STDERR < %t %s
3
40x80 0xba
5# CHECK: hlt #0
6
70xbf 0xba
8# CHECK: hlt #63
9
10# DCPS{1,2,3}
11
120x8f 0xf7 0x01 0x80
13# CHECK: dcps1
14
150x8f 0xf7 0x02 0x80
16# CHECK: dcps2
17
180x8f 0xf7 0x03 0x80
19# CHECK: dcps3
20
210xbf 0xf3 0x59 0x8f
220xbf 0xf3 0x51 0x8f
230xbf 0xf3 0x55 0x8f
240xbf 0xf3 0x5d 0x8f
25
26# CHECK: dmb ishld
27# CHECK: dmb oshld
28# CHECK: dmb nshld
29# CHECK: dmb ld
30
31[0x00 0xf0 0x00 0x0d]
32[0x63 0xeb 0x2d 0x46]
33# CHECK: and sp, r0, #0
34# CHECK: sbc.w r6, r3, sp, asr #16
35
36# STDERR-NOT: warning
37