1 @ RUN
: llvm-mc
%s
-triple
=armv7-linux-gnueabi
-filetype
=obj
-o
- \
2 @ RUN
: | llvm-readobj
-S
--sd | FileCheck
%s
--check-prefix
=CHECK
--check-prefix
=CHECK-LE
4 @ RUN
: llvm-mc
%s
-triple
=armebv7-linux-gnueabi
-filetype
=obj
-o
- \
5 @ RUN
: | llvm-readobj
-S
--sd | FileCheck
%s
--check-prefix
=CHECK
--check-prefix
=CHECK-
BE
9 @
-------------------------------------------------------------------------------
11 @
-------------------------------------------------------------------------------
14 .section .inst.arm_inst
18 .type arm_inst,%function
23 @ CHECK
: Name
: .inst.arm_inst
24 @ CHECK
: SectionData
(
25 @ CHECK-LE-NEXT
: 0000: FEDE0000
26 @ CHECK-BE-NEXT
: 0000: 0000DEFE
29 @
-------------------------------------------------------------------------------
31 @
-------------------------------------------------------------------------------
34 .section .inst.thumb_inst_n
38 .type thumb_inst_n,%function
43 @ CHECK
: Name
: .inst.thumb_inst_n
44 @ CHECK
: SectionData
(
45 @ CHECK-LE-NEXT
: 0000: FEDE
46 @ CHECK-BE-NEXT
: 0000: DEFE
49 @
-------------------------------------------------------------------------------
51 @
-------------------------------------------------------------------------------
54 .section .inst.thumb_inst_w
58 .type thumb_inst_w,%function
63 @ CHECK
: Name
: .inst.thumb_inst_w
64 @ CHECK
: SectionData
(
65 @ CHECK-LE-NEXT
: 0000: 34127856
66 @ CHECK-BE-NEXT
: 0000: 12345678
69 @
-------------------------------------------------------------------------------
71 @
-------------------------------------------------------------------------------
74 .section .inst.thumb_inst_inst
77 .global thumb_inst_inst
78 .type thumb_inst_inst,%function
80 .inst.w 0xf2400000, 0xf2c00000
83 @ CHECK
: Name
: .inst.thumb_inst_inst
84 @ CHECK
: SectionData
(
85 @ CHECK-LE-NEXT
: 0000: 40F20000 C0F20000
86 @ CHECK-BE-NEXT
: 0000: F2400000 F2C00000