Home | History | Annotate | Download | only in ARM
      1 @ RUN: llvm-mc -triple armv7-elf -filetype asm -o - %s | FileCheck %s
      2 
      3 	.syntax unified
      4 	.thumb
      5 
      6 	.eabi_attribute Tag_CPU_raw_name, "Cortex-A9"
      7 @ CHECK: .eabi_attribute 4, "Cortex-A9"
      8 	.eabi_attribute Tag_CPU_name, "cortex-a9"
      9 @ CHECK: .cpu cortex-a9
     10 	.eabi_attribute Tag_CPU_arch, 10
     11 @ CHECK: .eabi_attribute 6, 10
     12 	.eabi_attribute Tag_CPU_arch_profile, 'A'
     13 @ CHECK: .eabi_attribute 7, 65
     14 	.eabi_attribute Tag_ARM_ISA_use, 0
     15 @ CHECK: .eabi_attribute 8, 0
     16 	.eabi_attribute Tag_THUMB_ISA_use, 2
     17 @ CHECK: .eabi_attribute 9, 2
     18 	.eabi_attribute Tag_FP_arch, 3
     19 @ CHECK: .eabi_attribute 10, 3
     20 	.eabi_attribute Tag_WMMX_arch, 0
     21 @ CHECK: .eabi_attribute 11, 0
     22 	.eabi_attribute Tag_Advanced_SIMD_arch, 1
     23 @ CHECK: .eabi_attribute 12, 1
     24 	.eabi_attribute Tag_PCS_config, 2
     25 @ CHECK: .eabi_attribute 13, 2
     26 	.eabi_attribute Tag_ABI_PCS_R9_use, 0
     27 @ CHECK: .eabi_attribute 14, 0
     28 	.eabi_attribute Tag_ABI_PCS_RW_data, 0
     29 @ CHECK: .eabi_attribute 15, 0
     30 	.eabi_attribute Tag_ABI_PCS_RO_data, 0
     31 @ CHECK: .eabi_attribute 16, 0
     32 	.eabi_attribute Tag_ABI_PCS_GOT_use, 0
     33 @ CHECK: .eabi_attribute 17, 0
     34 	.eabi_attribute Tag_ABI_PCS_wchar_t, 4
     35 @ CHECK: .eabi_attribute 18, 4
     36 	.eabi_attribute Tag_ABI_FP_rounding, 1
     37 @ CHECK: .eabi_attribute 19, 1
     38 	.eabi_attribute Tag_ABI_FP_denormal, 2
     39 @ CHECK: .eabi_attribute 20, 2
     40 	.eabi_attribute Tag_ABI_FP_exceptions, 1
     41 @ CHECK: .eabi_attribute 21, 1
     42 	.eabi_attribute Tag_ABI_FP_user_exceptions, 1
     43 @ CHECK: .eabi_attribute 22, 1
     44 	.eabi_attribute Tag_ABI_FP_number_model, 3
     45 @ CHECK: .eabi_attribute 23, 3
     46 	.eabi_attribute Tag_ABI_align_needed, 1
     47 @ CHECK: .eabi_attribute 24, 1
     48 	.eabi_attribute Tag_ABI_align_preserved, 2
     49 @ CHECK: .eabi_attribute 25, 2
     50 	.eabi_attribute Tag_ABI_enum_size, 3
     51 @ CHECK: .eabi_attribute 26, 3
     52 	.eabi_attribute Tag_ABI_HardFP_use, 0
     53 @ CHECK: .eabi_attribute 27, 0
     54 	.eabi_attribute Tag_ABI_VFP_args, 1
     55 @ CHECK: .eabi_attribute 28, 1
     56 	.eabi_attribute Tag_ABI_WMMX_args, 0
     57 @ CHECK: .eabi_attribute 29, 0
     58 	.eabi_attribute Tag_ABI_FP_optimization_goals, 1
     59 @ CHECK: .eabi_attribute 31, 1
     60 	.eabi_attribute Tag_compatibility, 1
     61 @ CHECK: .eabi_attribute 32, 1
     62 	.eabi_attribute Tag_compatibility, 1, "aeabi"
     63 @ CHECK: .eabi_attribute 32, 1, "aeabi"
     64 	.eabi_attribute Tag_CPU_unaligned_access, 0
     65 @ CHECK: .eabi_attribute 34, 0
     66 	.eabi_attribute Tag_FP_HP_extension, 0
     67 @ CHECK: .eabi_attribute 36, 0
     68 	.eabi_attribute Tag_ABI_FP_16bit_format, 0
     69 @ CHECK: .eabi_attribute 38, 0
     70 	.eabi_attribute Tag_MPextension_use, 0
     71 @ CHECK: .eabi_attribute 42, 0
     72 	.eabi_attribute Tag_DIV_use, 0
     73 @ CHECK: .eabi_attribute 44, 0
     74 	.eabi_attribute Tag_nodefaults, 0
     75 @ CHECK: .eabi_attribute 64, 0
     76 	.eabi_attribute Tag_also_compatible_with, "gnu"
     77 @ CHECK: .eabi_attribute 65, "gnu"
     78 	.eabi_attribute Tag_T2EE_use, 0
     79 @ CHECK: .eabi_attribute 66, 0
     80 	.eabi_attribute Tag_conformance, "2.09"
     81 @ CHECK: .eabi_attribute 67, "2.09"
     82 	.eabi_attribute Tag_Virtualization_use, 0
     83 @ CHECK: .eabi_attribute 68, 0
     84 
     85 @ ===--- Compatibility Checks ---===
     86 
     87 	.eabi_attribute Tag_ABI_align8_needed, 1
     88 @ CHECK: .eabi_attribute 24, 1
     89 	.eabi_attribute Tag_ABI_align8_preserved, 2
     90 @ CHECK: .eabi_attribute 25, 2
     91 
     92 @ ===--- GNU AS Compatibility Checks ---===
     93 
     94 	.eabi_attribute 2 * 2 + 1, "cortex-a9"
     95 @ CHECK: .cpu cortex-a9
     96 	.eabi_attribute 2 * 2 + 2, 5 * 2
     97 @ CHECK: .eabi_attribute 6, 10
     98 
     99