Home | History | Annotate | Download | only in ARM
      1 ; This tests that MC/asm header conversion is smooth and that the
      2 ; build attributes are correct
      3 
      4 ; RUN: llc < %s -mtriple=thumbv5-linux-gnueabi -mcpu=xscale | FileCheck %s --check-prefix=XSCALE
      5 ; RUN: llc < %s -mtriple=armv6-linux-gnueabi | FileCheck %s --check-prefix=V6
      6 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi | FileCheck %s --check-prefix=V6M
      7 ; RUN: llc < %s -mtriple=armv6-linux-gnueabi -mcpu=arm1156t2f-s | FileCheck %s --check-prefix=ARM1156T2F-S
      8 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi | FileCheck %s --check-prefix=V7M
      9 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=V7
     10 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi | FileCheck %s --check-prefix=V8
     11 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi | FileCheck %s --check-prefix=Vt8
     12 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=-neon,-crypto | FileCheck %s --check-prefix=V8-FPARMv8
     13 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=-fp-armv8,-crypto | FileCheck %s --check-prefix=V8-NEON
     14 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=-crypto | FileCheck %s --check-prefix=V8-FPARMv8-NEON
     15 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi | FileCheck %s --check-prefix=V8-FPARMv8-NEON-CRYPTO
     16 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a5 | FileCheck %s --check-prefix=CORTEX-A5-DEFAULT
     17 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a5 -mattr=-neon,+d16 | FileCheck %s --check-prefix=CORTEX-A5-NONEON
     18 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a5 -mattr=-vfp2 | FileCheck %s --check-prefix=CORTEX-A5-NOFPU
     19 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a9 -float-abi=soft | FileCheck %s --check-prefix=CORTEX-A9-SOFT
     20 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a9 -float-abi=hard | FileCheck %s --check-prefix=CORTEX-A9-HARD
     21 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a12 | FileCheck %s --check-prefix=CORTEX-A12-DEFAULT
     22 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a12 -mattr=-vfp2 | FileCheck %s --check-prefix=CORTEX-A12-NOFPU
     23 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a9-mp | FileCheck %s --check-prefix=CORTEX-A9-MP
     24 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 | FileCheck %s --check-prefix=CORTEX-A15
     25 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 | FileCheck %s --check-prefix=CORTEX-M0
     26 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m3 | FileCheck %s --check-prefix=CORTEX-M3
     27 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m4 -float-abi=soft | FileCheck %s --check-prefix=CORTEX-M4-SOFT
     28 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m4 -float-abi=hard | FileCheck %s --check-prefix=CORTEX-M4-HARD
     29 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r5 | FileCheck %s --check-prefix=CORTEX-R5
     30 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a53 | FileCheck %s --check-prefix=CORTEX-A53
     31 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a57 | FileCheck %s --check-prefix=CORTEX-A57
     32 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 | FileCheck %s  --check-prefix=CORTEX-A7-CHECK
     33 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=-vfp2,-vfp3,-vfp4,-neon | FileCheck %s --check-prefix=CORTEX-A7-NOFPU
     34 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=+vfp4,-neon | FileCheck %s --check-prefix=CORTEX-A7-FPUV4
     35 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=+vfp4,,+d16,-neon | FileCheck %s --check-prefix=CORTEX-A7-FPUV4
     36 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -relocation-model=pic | FileCheck %s --check-prefix=RELOC-PIC
     37 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -relocation-model=static | FileCheck %s --check-prefix=RELOC-OTHER
     38 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -relocation-model=default | FileCheck %s --check-prefix=RELOC-OTHER
     39 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -relocation-model=dynamic-no-pic | FileCheck %s --check-prefix=RELOC-OTHER
     40 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi | FileCheck %s --check-prefix=RELOC-OTHER
     41 
     42 ; XSCALE:      .eabi_attribute 6, 5
     43 ; XSCALE:      .eabi_attribute 8, 1
     44 ; XSCALE:      .eabi_attribute 9, 1
     45 
     46 ; V6:   .eabi_attribute 6, 6
     47 ; V6:   .eabi_attribute 8, 1
     48 ; V6:   .eabi_attribute 24, 1
     49 ; V6:   .eabi_attribute 25, 1
     50 ; V6-NOT:   .eabi_attribute 27
     51 ; V6-NOT:   .eabi_attribute 28
     52 ; V6-NOT:    .eabi_attribute 36
     53 ; V6-NOT:    .eabi_attribute 42
     54 ; V6-NOT:    .eabi_attribute 68
     55 
     56 ; V6M:  .eabi_attribute 6, 12
     57 ; V6M-NOT:  .eabi_attribute 7
     58 ; V6M:  .eabi_attribute 8, 0
     59 ; V6M:  .eabi_attribute 9, 1
     60 ; V6M:  .eabi_attribute 24, 1
     61 ; V6M:  .eabi_attribute 25, 1
     62 ; V6M-NOT:  .eabi_attribute 27
     63 ; V6M-NOT:  .eabi_attribute 28
     64 ; V6M-NOT:  .eabi_attribute 36
     65 ; V6M-NOT:  .eabi_attribute 42
     66 ; V6M-NOT:  .eabi_attribute 68
     67 
     68 ; ARM1156T2F-S: .cpu arm1156t2f-s
     69 ; ARM1156T2F-S: .eabi_attribute 6, 8
     70 ; ARM1156T2F-S: .eabi_attribute 8, 1
     71 ; ARM1156T2F-S: .eabi_attribute 9, 2
     72 ; ARM1156T2F-S: .fpu vfpv2
     73 ; ARM1156T2F-S: .eabi_attribute 20, 1
     74 ; ARM1156T2F-S: .eabi_attribute 21, 1
     75 ; ARM1156T2F-S: .eabi_attribute 23, 3
     76 ; ARM1156T2F-S: .eabi_attribute 24, 1
     77 ; ARM1156T2F-S: .eabi_attribute 25, 1
     78 ; ARM1156T2F-S-NOT: .eabi_attribute 27
     79 ; ARM1156T2F-S-NOT: .eabi_attribute 28
     80 ; ARM1156T2F-S-NOT: .eabi_attribute 36
     81 ; ARM1156T2F-S-NOT:    .eabi_attribute 42
     82 ; ARM1156T2F-S-NOT:    .eabi_attribute 68
     83 
     84 ; V7M:  .eabi_attribute 6, 10
     85 ; V7M:  .eabi_attribute 7, 77
     86 ; V7M:  .eabi_attribute 8, 0
     87 ; V7M:  .eabi_attribute 9, 2
     88 ; V7M:  .eabi_attribute 24, 1
     89 ; V7M:  .eabi_attribute 25, 1
     90 ; V7M-NOT:  .eabi_attribute 27
     91 ; V7M-NOT:  .eabi_attribute 28
     92 ; V7M-NOT:  .eabi_attribute 36
     93 ; V7M-NOT:  .eabi_attribute 42
     94 ; V7M-NOT:  .eabi_attribute 44
     95 ; V7M-NOT:  .eabi_attribute 68
     96 
     97 ; V7:      .syntax unified
     98 ; V7: .eabi_attribute 6, 10
     99 ; V7: .eabi_attribute 20, 1
    100 ; V7: .eabi_attribute 21, 1
    101 ; V7: .eabi_attribute 23, 3
    102 ; V7: .eabi_attribute 24, 1
    103 ; V7: .eabi_attribute 25, 1
    104 ; V7-NOT: .eabi_attribute 27
    105 ; V7-NOT: .eabi_attribute 28
    106 ; V7-NOT: .eabi_attribute 36
    107 ; V7-NOT:    .eabi_attribute 42
    108 ; V7-NOT:    .eabi_attribute 68
    109 
    110 ; V8:      .syntax unified
    111 ; V8: .eabi_attribute 6, 14
    112 
    113 ; Vt8:     .syntax unified
    114 ; Vt8: .eabi_attribute 6, 14
    115 
    116 ; V8-FPARMv8:      .syntax unified
    117 ; V8-FPARMv8: .eabi_attribute 6, 14
    118 ; V8-FPARMv8: .fpu fp-armv8
    119 
    120 ; V8-NEON:      .syntax unified
    121 ; V8-NEON: .eabi_attribute 6, 14
    122 ; V8-NEON: .fpu neon
    123 ; V8-NEON: .eabi_attribute 12, 3
    124 
    125 ; V8-FPARMv8-NEON:      .syntax unified
    126 ; V8-FPARMv8-NEON: .eabi_attribute 6, 14
    127 ; V8-FPARMv8-NEON: .fpu neon-fp-armv8
    128 ; V8-FPARMv8-NEON: .eabi_attribute 12, 3
    129 
    130 ; V8-FPARMv8-NEON-CRYPTO:      .syntax unified
    131 ; V8-FPARMv8-NEON-CRYPTO: .eabi_attribute 6, 14
    132 ; V8-FPARMv8-NEON-CRYPTO: .fpu crypto-neon-fp-armv8
    133 ; V8-FPARMv8-NEON-CRYPTO: .eabi_attribute 12, 3
    134 
    135 ; Tag_CPU_arch	'ARMv7'
    136 ; CORTEX-A7-CHECK: .eabi_attribute	6, 10
    137 ; CORTEX-A7-NOFPU: .eabi_attribute	6, 10
    138 ; CORTEX-A7-FPUV4: .eabi_attribute	6, 10
    139 
    140 ; Tag_CPU_arch_profile 'A'
    141 ; CORTEX-A7-CHECK: .eabi_attribute	7, 65
    142 ; CORTEX-A7-NOFPU: .eabi_attribute	7, 65
    143 ; CORTEX-A7-FPUV4: .eabi_attribute	7, 65
    144 
    145 ; Tag_ARM_ISA_use
    146 ; CORTEX-A7-CHECK: .eabi_attribute	8, 1
    147 ; CORTEX-A7-NOFPU: .eabi_attribute	8, 1
    148 ; CORTEX-A7-FPUV4: .eabi_attribute	8, 1
    149 
    150 ; Tag_THUMB_ISA_use
    151 ; CORTEX-A7-CHECK: .eabi_attribute	9, 2
    152 ; CORTEX-A7-NOFPU: .eabi_attribute	9, 2
    153 ; CORTEX-A7-FPUV4: .eabi_attribute	9, 2
    154 
    155 ; CORTEX-A7-CHECK: .fpu	neon-vfpv4
    156 ; CORTEX-A7-NOFPU-NOT: .fpu
    157 ; CORTEX-A7-FPUV4: .fpu	vfpv4
    158 
    159 ; Tag_ABI_FP_denormal
    160 ; CORTEX-A7-CHECK: .eabi_attribute	20, 1
    161 ; CORTEX-A7-NOFPU: .eabi_attribute	20, 1
    162 ; CORTEX-A7-FPUV4: .eabi_attribute	20, 1
    163 
    164 ; Tag_ABI_FP_exceptions
    165 ; CORTEX-A7-CHECK: .eabi_attribute	21, 1
    166 ; CORTEX-A7-NOFPU: .eabi_attribute	21, 1
    167 ; CORTEX-A7-FPUV4: .eabi_attribute	21, 1
    168 
    169 ; Tag_ABI_FP_number_model
    170 ; CORTEX-A7-CHECK: .eabi_attribute	23, 3
    171 ; CORTEX-A7-NOFPU: .eabi_attribute	23, 3
    172 ; CORTEX-A7-FPUV4: .eabi_attribute	23, 3
    173 
    174 ; Tag_ABI_align_needed
    175 ; CORTEX-A7-CHECK: .eabi_attribute	24, 1
    176 ; CORTEX-A7-NOFPU: .eabi_attribute	24, 1
    177 ; CORTEX-A7-FPUV4: .eabi_attribute	24, 1
    178 
    179 ; Tag_ABI_align_preserved
    180 ; CORTEX-A7-CHECK: .eabi_attribute	25, 1
    181 ; CORTEX-A7-NOFPU: .eabi_attribute	25, 1
    182 ; CORTEX-A7-FPUV4: .eabi_attribute	25, 1
    183 
    184 ; Tag_FP_HP_extension
    185 ; CORTEX-A7-CHECK: .eabi_attribute	36, 1
    186 ; CORTEX-A7-NOFPU: .eabi_attribute	36, 1
    187 ; CORTEX-A7-FPUV4: .eabi_attribute	36, 1
    188 
    189 ; Tag_MPextension_use
    190 ; CORTEX-A7-CHECK: .eabi_attribute	42, 1
    191 ; CORTEX-A7-NOFPU: .eabi_attribute	42, 1
    192 ; CORTEX-A7-FPUV4: .eabi_attribute	42, 1
    193 
    194 ; Tag_DIV_use
    195 ; CORTEX-A7-CHECK: .eabi_attribute	44, 2
    196 ; CORTEX-A7-NOFPU: .eabi_attribute	44, 2
    197 ; CORTEX-A7-FPUV4: .eabi_attribute	44, 2
    198 
    199 ; Tag_Virtualization_use
    200 ; CORTEX-A7-CHECK: .eabi_attribute	68, 3
    201 ; CORTEX-A7-NOFPU: .eabi_attribute	68, 3
    202 ; CORTEX-A7-FPUV4: .eabi_attribute	68, 3
    203 
    204 ; CORTEX-A5-DEFAULT:        .cpu    cortex-a5
    205 ; CORTEX-A5-DEFAULT:        .eabi_attribute 6, 10
    206 ; CORTEX-A5-DEFAULT:        .eabi_attribute 7, 65
    207 ; CORTEX-A5-DEFAULT:        .eabi_attribute 8, 1
    208 ; CORTEX-A5-DEFAULT:        .eabi_attribute 9, 2
    209 ; CORTEX-A5-DEFAULT:        .fpu    neon-vfpv4
    210 ; CORTEX-A5-DEFAULT:        .eabi_attribute 20, 1
    211 ; CORTEX-A5-DEFAULT:        .eabi_attribute 21, 1
    212 ; CORTEX-A5-DEFAULT:        .eabi_attribute 23, 3
    213 ; CORTEX-A5-DEFAULT:        .eabi_attribute 24, 1
    214 ; CORTEX-A5-DEFAULT:        .eabi_attribute 25, 1
    215 ; CORTEX-A5-DEFAULT:        .eabi_attribute 42, 1
    216 ; CORTEX-A5-DEFAULT:        .eabi_attribute 68, 1
    217 
    218 ; CORTEX-A5-NONEON:        .cpu    cortex-a5
    219 ; CORTEX-A5-NONEON:        .eabi_attribute 6, 10
    220 ; CORTEX-A5-NONEON:        .eabi_attribute 7, 65
    221 ; CORTEX-A5-NONEON:        .eabi_attribute 8, 1
    222 ; CORTEX-A5-NONEON:        .eabi_attribute 9, 2
    223 ; CORTEX-A5-NONEON:        .fpu    vfpv4-d16
    224 ; CORTEX-A5-NONEON:        .eabi_attribute 20, 1
    225 ; CORTEX-A5-NONEON:        .eabi_attribute 21, 1
    226 ; CORTEX-A5-NONEON:        .eabi_attribute 23, 3
    227 ; CORTEX-A5-NONEON:        .eabi_attribute 24, 1
    228 ; CORTEX-A5-NONEON:        .eabi_attribute 25, 1
    229 ; CORTEX-A5-NONEON:        .eabi_attribute 42, 1
    230 ; CORTEX-A5-NONEON:        .eabi_attribute 68, 1
    231 
    232 ; CORTEX-A5-NOFPU:        .cpu    cortex-a5
    233 ; CORTEX-A5-NOFPU:        .eabi_attribute 6, 10
    234 ; CORTEX-A5-NOFPU:        .eabi_attribute 7, 65
    235 ; CORTEX-A5-NOFPU:        .eabi_attribute 8, 1
    236 ; CORTEX-A5-NOFPU:        .eabi_attribute 9, 2
    237 ; CORTEX-A5-NOFPU-NOT:    .fpu
    238 ; CORTEX-A5-NOFPU:        .eabi_attribute 20, 1
    239 ; CORTEX-A5-NOFPU:        .eabi_attribute 21, 1
    240 ; CORTEX-A5-NOFPU:        .eabi_attribute 23, 3
    241 ; CORTEX-A5-NOFPU:        .eabi_attribute 24, 1
    242 ; CORTEX-A5-NOFPU:        .eabi_attribute 25, 1
    243 ; CORTEX-A5-NOFPU:        .eabi_attribute 42, 1
    244 ; CORTEX-A5-NOFPU:        .eabi_attribute 68, 1
    245 
    246 ; CORTEX-A9-SOFT:  .cpu cortex-a9
    247 ; CORTEX-A9-SOFT:  .eabi_attribute 6, 10
    248 ; CORTEX-A9-SOFT:  .eabi_attribute 7, 65
    249 ; CORTEX-A9-SOFT:  .eabi_attribute 8, 1
    250 ; CORTEX-A9-SOFT:  .eabi_attribute 9, 2
    251 ; CORTEX-A9-SOFT:  .fpu neon
    252 ; CORTEX-A9-SOFT:  .eabi_attribute 20, 1
    253 ; CORTEX-A9-SOFT:  .eabi_attribute 21, 1
    254 ; CORTEX-A9-SOFT:  .eabi_attribute 23, 3
    255 ; CORTEX-A9-SOFT:  .eabi_attribute 24, 1
    256 ; CORTEX-A9-SOFT:  .eabi_attribute 25, 1
    257 ; CORTEX-A9-SOFT-NOT:  .eabi_attribute 27
    258 ; CORTEX-A9-SOFT-NOT:  .eabi_attribute 28
    259 ; CORTEX-A9-SOFT:  .eabi_attribute 36, 1
    260 ; CORTEX-A9-SOFT-NOT:  .eabi_attribute 42
    261 ; CORTEX-A9-SOFT:  .eabi_attribute 68, 1
    262 
    263 ; CORTEX-A9-HARD:  .cpu cortex-a9
    264 ; CORTEX-A9-HARD:  .eabi_attribute 6, 10
    265 ; CORTEX-A9-HARD:  .eabi_attribute 7, 65
    266 ; CORTEX-A9-HARD:  .eabi_attribute 8, 1
    267 ; CORTEX-A9-HARD:  .eabi_attribute 9, 2
    268 ; CORTEX-A9-HARD:  .fpu neon
    269 ; CORTEX-A9-HARD:  .eabi_attribute 20, 1
    270 ; CORTEX-A9-HARD:  .eabi_attribute 21, 1
    271 ; CORTEX-A9-HARD:  .eabi_attribute 23, 3
    272 ; CORTEX-A9-HARD:  .eabi_attribute 24, 1
    273 ; CORTEX-A9-HARD:  .eabi_attribute 25, 1
    274 ; CORTEX-A9-HARD-NOT:  .eabi_attribute 27
    275 ; CORTEX-A9-HARD:  .eabi_attribute 28, 1
    276 ; CORTEX-A9-HARD:  .eabi_attribute 36, 1
    277 ; CORTEX-A9-HARD-NOT:  .eabi_attribute 42
    278 ; CORTEX-A9-HARD:  .eabi_attribute 68, 1
    279 
    280 ; CORTEX-A9-MP:  .cpu cortex-a9-mp
    281 ; CORTEX-A9-MP:  .eabi_attribute 6, 10
    282 ; CORTEX-A9-MP:  .eabi_attribute 7, 65
    283 ; CORTEX-A9-MP:  .eabi_attribute 8, 1
    284 ; CORTEX-A9-MP:  .eabi_attribute 9, 2
    285 ; CORTEX-A9-MP:  .fpu neon
    286 ; CORTEX-A9-MP:  .eabi_attribute 20, 1
    287 ; CORTEX-A9-MP:  .eabi_attribute 21, 1
    288 ; CORTEX-A9-MP:  .eabi_attribute 23, 3
    289 ; CORTEX-A9-MP:  .eabi_attribute 24, 1
    290 ; CORTEX-A9-MP:  .eabi_attribute 25, 1
    291 ; CORTEX-A9-MP-NOT:  .eabi_attribute 27
    292 ; CORTEX-A9-MP-NOT:  .eabi_attribute 28
    293 ; CORTEX-A9-MP:  .eabi_attribute 36, 1
    294 ; CORTEX-A9-MP:  .eabi_attribute 42, 1
    295 ; CORTEX-A9-MP:  .eabi_attribute 68, 1
    296 
    297 ; CORTEX-A12-DEFAULT:  .cpu cortex-a12
    298 ; CORTEX-A12-DEFAULT:  .eabi_attribute 6, 10
    299 ; CORTEX-A12-DEFAULT:  .eabi_attribute 7, 65
    300 ; CORTEX-A12-DEFAULT:  .eabi_attribute 8, 1
    301 ; CORTEX-A12-DEFAULT:  .eabi_attribute 9, 2
    302 ; CORTEX-A12-DEFAULT:  .fpu neon-vfpv4
    303 ; CORTEX-A12-DEFAULT:  .eabi_attribute 20, 1
    304 ; CORTEX-A12-DEFAULT:  .eabi_attribute 21, 1
    305 ; CORTEX-A12-DEFAULT:  .eabi_attribute 23, 3
    306 ; CORTEX-A12-DEFAULT:  .eabi_attribute 24, 1
    307 ; CORTEX-A12-DEFAULT:  .eabi_attribute 25, 1
    308 ; CORTEX-A12-DEFAULT:  .eabi_attribute 42, 1
    309 ; CORTEX-A12-DEFAULT:  .eabi_attribute 44, 2
    310 ; CORTEX-A12-DEFAULT:  .eabi_attribute 68, 3
    311 
    312 ; CORTEX-A12-NOFPU:  .cpu cortex-a12
    313 ; CORTEX-A12-NOFPU:  .eabi_attribute 6, 10
    314 ; CORTEX-A12-NOFPU:  .eabi_attribute 7, 65
    315 ; CORTEX-A12-NOFPU:  .eabi_attribute 8, 1
    316 ; CORTEX-A12-NOFPU:  .eabi_attribute 9, 2
    317 ; CORTEX-A12-NOFPU-NOT:  .fpu
    318 ; CORTEX-A12-NOFPU:  .eabi_attribute 20, 1
    319 ; CORTEX-A12-NOFPU:  .eabi_attribute 21, 1
    320 ; CORTEX-A12-NOFPU:  .eabi_attribute 23, 3
    321 ; CORTEX-A12-NOFPU:  .eabi_attribute 24, 1
    322 ; CORTEX-A12-NOFPU:  .eabi_attribute 25, 1
    323 ; CORTEX-A12-NOFPU:  .eabi_attribute 42, 1
    324 ; CORTEX-A12-NOFPU:  .eabi_attribute 44, 2
    325 ; CORTEX-A12-NOFPU:  .eabi_attribute 68, 3
    326 
    327 ; CORTEX-A15: .cpu cortex-a15
    328 ; CORTEX-A15: .eabi_attribute 6, 10
    329 ; CORTEX-A15: .eabi_attribute 7, 65
    330 ; CORTEX-A15: .eabi_attribute 8, 1
    331 ; CORTEX-A15: .eabi_attribute 9, 2
    332 ; CORTEX-A15: .fpu neon-vfpv4
    333 ; CORTEX-A15: .eabi_attribute 20, 1
    334 ; CORTEX-A15: .eabi_attribute 21, 1
    335 ; CORTEX-A15: .eabi_attribute 23, 3
    336 ; CORTEX-A15: .eabi_attribute 24, 1
    337 ; CORTEX-A15: .eabi_attribute 25, 1
    338 ; CORTEX-A15-NOT: .eabi_attribute 27
    339 ; CORTEX-A15-NOT: .eabi_attribute 28
    340 ; CORTEX-A15: .eabi_attribute 36, 1
    341 ; CORTEX-A15: .eabi_attribute 42, 1
    342 ; CORTEX-A15: .eabi_attribute 44, 2
    343 ; CORTEX-A15: .eabi_attribute 68, 3
    344 
    345 ; CORTEX-M0:  .cpu cortex-m0
    346 ; CORTEX-M0:  .eabi_attribute 6, 12
    347 ; CORTEX-M0-NOT:  .eabi_attribute 7
    348 ; CORTEX-M0:  .eabi_attribute 8, 0
    349 ; CORTEX-M0:  .eabi_attribute 9, 1
    350 ; CORTEX-M0:  .eabi_attribute 24, 1
    351 ; CORTEX-M0:  .eabi_attribute 25, 1
    352 ; CORTEX-M0-NOT:  .eabi_attribute 27
    353 ; CORTEX-M0-NOT:  .eabi_attribute 28
    354 ; CORTEX-M0-NOT:  .eabi_attribute 36
    355 ; CORTEX-M0-NOT:  .eabi_attribute 42
    356 ; CORTEX-M0-NOT:  .eabi_attribute 68
    357 
    358 ; CORTEX-M3:  .cpu cortex-m3
    359 ; CORTEX-M3:  .eabi_attribute 6, 10
    360 ; CORTEX-M3:  .eabi_attribute 7, 77
    361 ; CORTEX-M3:  .eabi_attribute 8, 0
    362 ; CORTEX-M3:  .eabi_attribute 9, 2
    363 ; CORTEX-M3:  .eabi_attribute 20, 1
    364 ; CORTEX-M3:  .eabi_attribute 21, 1
    365 ; CORTEX-M3:  .eabi_attribute 23, 3
    366 ; CORTEX-M3:  .eabi_attribute 24, 1
    367 ; CORTEX-M3:  .eabi_attribute 25, 1
    368 ; CORTEX-M3-NOT:  .eabi_attribute 27
    369 ; CORTEX-M3-NOT:  .eabi_attribute 28
    370 ; CORTEX-M3-NOT:  .eabi_attribute 36
    371 ; CORTEX-M3-NOT:  .eabi_attribute 42
    372 ; CORTEX-M3-NOT:  .eabi_attribute 44
    373 ; CORTEX-M3-NOT:  .eabi_attribute 68
    374 
    375 ; CORTEX-M4-SOFT:  .cpu cortex-m4
    376 ; CORTEX-M4-SOFT:  .eabi_attribute 6, 13
    377 ; CORTEX-M4-SOFT:  .eabi_attribute 7, 77
    378 ; CORTEX-M4-SOFT:  .eabi_attribute 8, 0
    379 ; CORTEX-M4-SOFT:  .eabi_attribute 9, 2
    380 ; CORTEX-M4-SOFT:  .fpu vfpv4-d16
    381 ; CORTEX-M4-SOFT:  .eabi_attribute 20, 1
    382 ; CORTEX-M4-SOFT:  .eabi_attribute 21, 1
    383 ; CORTEX-M4-SOFT:  .eabi_attribute 23, 3
    384 ; CORTEX-M4-SOFT:  .eabi_attribute 24, 1
    385 ; CORTEX-M4-SOFT:  .eabi_attribute 25, 1
    386 ; CORTEX-M4-SOFT:  .eabi_attribute 27, 1
    387 ; CORTEX-M4-SOFT-NOT:  .eabi_attribute 28
    388 ; CORTEX-M4-SOFT:  .eabi_attribute 36, 1
    389 ; CORTEX-M4-SOFT-NOT:  .eabi_attribute 42
    390 ; CORTEX-M4-SOFT-NOT:  .eabi_attribute 44
    391 ; CORTEX-M4-SOFT-NOT:  .eabi_attribute 68
    392 
    393 ; CORTEX-M4-HARD:  .cpu cortex-m4
    394 ; CORTEX-M4-HARD:  .eabi_attribute 6, 13
    395 ; CORTEX-M4-HARD:  .eabi_attribute 7, 77
    396 ; CORTEX-M4-HARD:  .eabi_attribute 8, 0
    397 ; CORTEX-M4-HARD:  .eabi_attribute 9, 2
    398 ; CORTEX-M4-HARD:  .fpu vfpv4-d16
    399 ; CORTEX-M4-HARD:  .eabi_attribute 20, 1
    400 ; CORTEX-M4-HARD:  .eabi_attribute 21, 1
    401 ; CORTEX-M4-HARD:  .eabi_attribute 23, 3
    402 ; CORTEX-M4-HARD:  .eabi_attribute 24, 1
    403 ; CORTEX-M4-HARD:  .eabi_attribute 25, 1
    404 ; CORTEX-M4-HARD:  .eabi_attribute 27, 1
    405 ; CORTEX-M4-HARD:  .eabi_attribute 28, 1
    406 ; CORTEX-M4-HARD:  .eabi_attribute 36, 1
    407 ; CORTEX-M4-HARD-NOT:  .eabi_attribute 42
    408 ; CORTEX-M4-HARD-NOT:  .eabi_attribute 44
    409 ; CORTEX-M4-HARD-NOT:  .eabi_attribute 68
    410 
    411 ; CORTEX-R5:  .cpu cortex-r5
    412 ; CORTEX-R5:  .eabi_attribute 6, 10
    413 ; CORTEX-R5:  .eabi_attribute 7, 82
    414 ; CORTEX-R5:  .eabi_attribute 8, 1
    415 ; CORTEX-R5:  .eabi_attribute 9, 2
    416 ; CORTEX-R5:  .fpu vfpv3-d16
    417 ; CORTEX-R5:  .eabi_attribute 20, 1
    418 ; CORTEX-R5:  .eabi_attribute 21, 1
    419 ; CORTEX-R5:  .eabi_attribute 23, 3
    420 ; CORTEX-R5:  .eabi_attribute 24, 1
    421 ; CORTEX-R5:  .eabi_attribute 25, 1
    422 ; CORTEX-R5:  .eabi_attribute 27, 1
    423 ; CORTEX-R5-NOT:  .eabi_attribute 28
    424 ; CORTEX-R5-NOT:  .eabi_attribute 36
    425 ; CORTEX-R5-NOT:  .eabi_attribute 42
    426 ; CORTEX-R5:  .eabi_attribute 44, 2
    427 ; CORTEX-R5-NOT:  .eabi_attribute 68
    428 
    429 ; CORTEX-A53:  .cpu cortex-a53
    430 ; CORTEX-A53:  .eabi_attribute 6, 14
    431 ; CORTEX-A53:  .eabi_attribute 7, 65
    432 ; CORTEX-A53:  .eabi_attribute 8, 1
    433 ; CORTEX-A53:  .eabi_attribute 9, 2
    434 ; CORTEX-A53:  .fpu crypto-neon-fp-armv8
    435 ; CORTEX-A53:  .eabi_attribute 12, 3
    436 ; CORTEX-A53:  .eabi_attribute 24, 1
    437 ; CORTEX-A53:  .eabi_attribute 25, 1
    438 ; CORTEX-A53-NOT:  .eabi_attribute 27
    439 ; CORTEX-A53-NOT:  .eabi_attribute 28
    440 ; CORTEX-A53:  .eabi_attribute 36, 1
    441 ; CORTEX-A53:  .eabi_attribute 42, 1
    442 ; CORTEX-A53-NOT:  .eabi_attribute 44
    443 ; CORTEX-A53:  .eabi_attribute 68, 3
    444 
    445 ; CORTEX-A57:  .cpu cortex-a57
    446 ; CORTEX-A57:  .eabi_attribute 6, 14
    447 ; CORTEX-A57:  .eabi_attribute 7, 65
    448 ; CORTEX-A57:  .eabi_attribute 8, 1
    449 ; CORTEX-A57:  .eabi_attribute 9, 2
    450 ; CORTEX-A57:  .fpu crypto-neon-fp-armv8
    451 ; CORTEX-A57:  .eabi_attribute 12, 3
    452 ; CORTEX-A57:  .eabi_attribute 24, 1
    453 ; CORTEX-A57:  .eabi_attribute 25, 1
    454 ; CORTEX-A57-NOT:  .eabi_attribute 27
    455 ; CORTEX-A57-NOT:  .eabi_attribute 28
    456 ; CORTEX-A57:  .eabi_attribute 36, 1
    457 ; CORTEX-A57:  .eabi_attribute 42, 1
    458 ; CORTEX-A57-NOT:  .eabi_attribute 44
    459 ; CORTEX-A57:  .eabi_attribute 68, 3
    460 
    461 ; RELOC-PIC:  .eabi_attribute 15, 1
    462 ; RELOC-PIC:  .eabi_attribute 16, 1
    463 ; RELOC-PIC:  .eabi_attribute 17, 2
    464 ; RELOC-OTHER:  .eabi_attribute 17, 1
    465 
    466 define i32 @f(i64 %z) {
    467 	ret i32 0
    468 }
    469