1 # RUN: llvm-mc -triple thumbv7 -mattr=virtualization -show-encoding %s | FileCheck %s --check-prefix=CHECK-THUMB
7 # CHECK-THUMB: [0xe0,0xf7,0x01,0x80]
8 # CHECK-THUMB: [0xe0,0xf7,0x07,0x80]
9 # CHECK-THUMB: [0xe0,0xf7,0x01,0x81]
10 # CHECK-THUMB: [0xef,0xf7,0xff,0x8f]
16 # CHECK-THUMB: [0xe0,0xf7,0x01,0x80]
17 # CHECK-THUMB: [0xe0,0xf7,0x07,0x80]
18 # CHECK-THUMB: [0xe0,0xf7,0x01,0x81]
19 # CHECK-THUMB: [0xef,0xf7,0xff,0x8f]
36 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
37 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
38 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
39 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
40 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
41 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
42 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
43 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
44 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
45 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
46 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
47 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
48 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
49 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
50 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]
52 # SUBS PC, LR, #0 should have the same encoding as ERET.
53 # The conditional forms can't be tested because the ARM assembler parser doesn't
54 # accept SUBS<cond> PC, LR, #<imm>, only the unconditonal form is allowed. This
55 # is due to the way that the custom parser handles optional operands; see the
56 # FIXME in ARM/AsmParser/ARMAsmParser.cpp.
59 # CHECK-THUMB: [0xde,0xf3,0x00,0x8f]