1 @ RUN
: not llvm-mc
-show-encoding
-triple
=arm-eabi
< %s
2>&1 \
2 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-ARM-ONLY
4 @ RUN
: llvm-mc
-show-encoding
-triple
=armv4t
< %s
2>&1 \
5 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-ARM-THUMB
7 @ RUN
: llvm-mc
-show-encoding
-triple
=arm-eabi
-mcpu
=cortex-a15
< %s
2>&1 \
8 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-ARM-THUMB
10 @ RUN
: not llvm-mc
-show-encoding
-triple
=arm-eabi
-mcpu
=cortex-m3
< %s
2>&1 \
11 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-THUMB-ONLY
13 @ RUN
: not llvm-mc
-show-encoding
-triple
=armv7m-eabi
< %s
2>&1 \
14 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-THUMB-ONLY
16 @ RUN
: not llvm-mc
-show-encoding
-triple
=armv6m-eabi
< %s
2>&1 \
17 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-THUMB-ONLY
19 @ RUN
: not llvm-mc
-show-encoding
-triple
=armv6sm-eabi
< %s
2>&1 \
20 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-THUMB-ONLY
22 @ RUN
: not llvm-mc
-show-encoding
-triple
=thumbv7-win32-gnu
< %s
2>&1 \
23 @ RUN
: | FileCheck
%s
--check-prefix
=CHECK-THUMB-ONLY
25 @ Make sure correct diagnostics are given for CPUs without support for
26 @ one
or other of the execution states.
31 @ CHECK-ARM-THUMB-
NOT: target does
not support
33 @ CHECK-ARM-ONLY
: target does
not support Thumb mode
34 @ CHECK-ARM-ONLY
: target does
not support Thumb mode
36 @ CHECK-THUMB-ONLY
: target does
not support ARM mode
37 @ CHECK-THUMB-ONLY
: target does
not support ARM mode