1 @ Test the
.arch directive for iwmmxt2
3 @ This test case will check the default
.ARM.attributes value for the
4 @ iwmmxt2 architecture.
6 @ RUN
: llvm-mc
-triple arm-eabi
-filetype asm
%s \
7 @ RUN
: | FileCheck
%s
-check-prefix CHECK-ASM
8 @ RUN
: llvm-mc
-triple arm-eabi
-filetype obj
%s \
9 @ RUN
: | llvm-readobj
--arch-specific | FileCheck
%s
-check-prefix CHECK-ATTR
14 @ CHECK-ASM
: .arch iwmmxt2
16 @ CHECK-ATTR
: FileAttributes
{
17 @ CHECK-ATTR
: Attribute
{
18 @ CHECK-ATTR
: TagName
: CPU_name
19 @ CHECK-ATTR
: Value
: iwmmxt2
21 @ CHECK-ATTR
: Attribute
{
22 @ CHECK-ATTR
: TagName
: CPU_arch
23 @ CHECK-ATTR
: Description
: ARM v5TE
25 @ CHECK-ATTR
: Attribute
{
26 @ CHECK-ATTR
: TagName
: ARM_ISA_use
27 @ CHECK-ATTR
: Description
: Permitted
29 @ CHECK-ATTR
: Attribute
{
30 @ CHECK-ATTR
: TagName
: THUMB_ISA_use
31 @ CHECK-ATTR
: Description
: Thumb-
1
33 @ CHECK-ATTR
: Attribute
{
34 @ CHECK-ATTR
: TagName
: WMMX_arch
35 @ CHECK-ATTR
: Description
: WMMXv2