brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1010 B · 1b4f66f Raw
34 lines · plain
1@ Test the .arch directive for armv7e-m2 3@ This test case will check the default .ARM.attributes value for the4@ armv7e-m architecture when using the armv7em alias.5 6@ RUN: llvm-mc -triple arm-eabi -filetype asm %s \7@ RUN:   | FileCheck %s -check-prefix CHECK-ASM8@ RUN: llvm-mc -triple arm-eabi -filetype obj %s \9@ RUN:   | llvm-readobj --arch-specific - | FileCheck %s -check-prefix CHECK-ATTR10 11  .syntax  unified12  .arch  armv7em13 14@ CHECK-ASM:   .arch  armv7e-m15 16@ CHECK-ATTR: FileAttributes {17@ CHECK-ATTR:   Attribute {18@ CHECK-ATTR:     TagName: CPU_name19@ CHECK-ATTR:     Value: 7E-M20@ CHECK-ATTR:   }21@ CHECK-ATTR:   Attribute {22@ CHECK-ATTR:     TagName: CPU_arch23@ CHECK-ATTR:     Description: ARM v724@ CHECK-ATTR:   }25@ CHECK-ATTR:   Attribute {26@ CHECK-ATTR:     TagName: CPU_arch_profile27@ CHECK-ATTR:     Description: Microcontroller28@ CHECK-ATTR:   }29@ CHECK-ATTR:   Attribute {30@ CHECK-ATTR:     TagName: THUMB_ISA_use31@ CHECK-ATTR:     Description: Thumb-232@ CHECK-ATTR:   }33@ CHECK-ATTR: }34