1 @ RUN
: llvm-mc
-show-encoding
-triple
=arm-eabi
< %s \
2 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-ARM-ONLY
4 @ RUN
: llvm-mc
-show-encoding
-triple
=armv4t-eabi
< %s \
5 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-ARM-THUMB
7 @ RUN
: llvm-mc
-show-encoding
-triple
=arm-eabi
-mcpu
=cortex-a15
< %s \
8 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-ARM-THUMB
10 @ RUN
: llvm-mc
-show-encoding
-triple
=arm-eabi
-mcpu
=cortex-m3
< %s \
11 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-THUMB-ONLY
13 @ RUN
: llvm-mc
-show-encoding
-triple
=armv7m-eabi
< %s \
14 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-THUMB-ONLY
16 @ RUN
: llvm-mc
-show-encoding
-triple
=armv6m-eabi
< %s \
17 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-THUMB-ONLY
19 @ Make sure the architecture chosen by LLVM defaults to
a compatible
22 @ CHECK-ARM-THUMB
: movs
r0, r0 @ encoding
: [0x00,0x00,0xb0,0xe1]
23 @ CHECK-ARM-ONLY
: movs
r0, r0 @ encoding
: [0x00,0x00,0xb0,0xe1]
24 @ CHECK-THUMB-ONLY
: movs
r0, r0 @ encoding
: [0x00,0x00]