1 ; This tests that MC/asm header conversion is smooth and that the
2 ; build attributes are correct
4 ; RUN: llc < %s -mtriple=thumbv5-linux-gnueabi -mcpu=xscale -mattr=+strict-align | FileCheck %s --check-prefix=XSCALE
5 ; RUN: llc < %s -mtriple=armv6-linux-gnueabi -mattr=+strict-align | FileCheck %s --check-prefix=V6
6 ; RUN: llc < %s -mtriple=armv6-linux-gnueabi -mattr=+strict-align -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=V6-FAST
7 ; RUN: llc < %s -mtriple=armv6-linux-gnueabi -mattr=+strict-align -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
8 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mattr=+strict-align | FileCheck %s --check-prefix=V6M
9 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mattr=+strict-align -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=V6M-FAST
10 ; RUN: llc < %s -mtriple=thumbv6sm-linux-gnueabi -mattr=+strict-align | FileCheck %s --check-prefix=V6M
11 ; RUN: llc < %s -mtriple=thumbv6sm-linux-gnueabi -mattr=+strict-align -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=V6M-FAST
12 ; RUN: llc < %s -mtriple=armv6-linux-gnueabi -mcpu=arm1156t2f-s -mattr=+strict-align | FileCheck %s --check-prefix=ARM1156T2F-S
13 ; RUN: llc < %s -mtriple=armv6-linux-gnueabi -mcpu=arm1156t2f-s -mattr=+strict-align -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=ARM1156T2F-S-FAST
14 ; RUN: llc < %s -mtriple=armv6-linux-gnueabi -mcpu=arm1156t2f-s -mattr=+strict-align -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
15 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi | FileCheck %s --check-prefix=V7M
16 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=V7M-FAST
17 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
18 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=V7
19 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
20 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=V7-FAST
21 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi | FileCheck %s --check-prefix=V8
22 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=V8-FAST
23 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
24 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi | FileCheck %s --check-prefix=Vt8
25 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
26 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=-neon,-crypto | FileCheck %s --check-prefix=V8-FPARMv8
27 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=-fp-armv8,-crypto | FileCheck %s --check-prefix=V8-NEON
28 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=-crypto | FileCheck %s --check-prefix=V8-FPARMv8-NEON
29 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi | FileCheck %s --check-prefix=V8-FPARMv8-NEON-CRYPTO
30 ; RUN: llc < %s -mtriple=thumbv8m.base-linux-gnueabi | FileCheck %s --check-prefix=V8MBASELINE
31 ; RUN: llc < %s -mtriple=thumbv8m.main-linux-gnueabi | FileCheck %s --check-prefix=V8MMAINLINE
32 ; RUN: llc < %s -mtriple=thumbv8m.main-linux-gnueabi -mattr=+dsp | FileCheck %s --check-prefix=V8MMAINLINE_DSP
33 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a5 | FileCheck %s --check-prefix=CORTEX-A5-DEFAULT
34 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a5 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A5-DEFAULT-FAST
35 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a5 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
36 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a5 -mattr=-neon,-d32 | FileCheck %s --check-prefix=CORTEX-A5-NONEON
37 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a5 -mattr=-vfp2sp | FileCheck %s --check-prefix=CORTEX-A5-NOFPU
38 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a5 -mattr=-vfp2sp -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A5-NOFPU-FAST
39 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a8 -float-abi=soft | FileCheck %s --check-prefix=CORTEX-A8-SOFT
40 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a8 -float-abi=soft -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A8-SOFT-FAST
41 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a8 -float-abi=hard | FileCheck %s --check-prefix=CORTEX-A8-HARD
42 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a8 -float-abi=hard -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A8-HARD-FAST
43 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a8 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
44 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a8 -float-abi=soft | FileCheck %s --check-prefix=CORTEX-A8-SOFT
45 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a9 -float-abi=soft | FileCheck %s --check-prefix=CORTEX-A9-SOFT
46 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a9 -float-abi=soft -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A9-SOFT-FAST
47 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a9 -float-abi=hard | FileCheck %s --check-prefix=CORTEX-A9-HARD
48 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a9 -float-abi=hard -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A9-HARD-FAST
49 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a9 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
50 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a12 | FileCheck %s --check-prefix=CORTEX-A12-DEFAULT
51 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a9 -float-abi=soft | FileCheck %s --check-prefix=CORTEX-A9-SOFT
52 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a12 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A12-DEFAULT-FAST
53 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a12 -mattr=-vfp2sp | FileCheck %s --check-prefix=CORTEX-A12-NOFPU
54 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a12 -mattr=-vfp2sp -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A12-NOFPU-FAST
55 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a12 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
56 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 | FileCheck %s --check-prefix=CORTEX-A15
57 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A15-FAST
58 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
59 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a17 | FileCheck %s --check-prefix=CORTEX-A17-DEFAULT
60 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a17 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A17-FAST
61 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a17 -mattr=-vfp2sp | FileCheck %s --check-prefix=CORTEX-A17-NOFPU
62 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a17 -mattr=-vfp2sp -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A17-NOFPU-FAST
64 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 -enable-no-trapping-fp-math | FileCheck %s --check-prefix=NO-TRAPPING-MATH
65 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 -denormal-fp-math=ieee | FileCheck %s --check-prefix=DENORMAL-IEEE
66 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 -denormal-fp-math=preserve-sign | FileCheck %s --check-prefix=DENORMAL-PRESERVE-SIGN
67 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 -denormal-fp-math=positive-zero | FileCheck %s --check-prefix=DENORMAL-POSITIVE-ZERO
69 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mattr=-neon,+vfp3,+fp16 | FileCheck %s --check-prefix=GENERIC-FPU-VFPV3-FP16
70 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mattr=-neon,+vfp3,-d32,+fp16 | FileCheck %s --check-prefix=GENERIC-FPU-VFPV3-D16-FP16
71 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mattr=-neon,+vfp3,-fp64,-d32 | FileCheck %s --check-prefix=GENERIC-FPU-VFPV3XD
72 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mattr=-neon,+vfp3,-fp64,-d32,+fp16 | FileCheck %s --check-prefix=GENERIC-FPU-VFPV3XD-FP16
73 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mattr=+neon,+fp16 | FileCheck %s --check-prefix=GENERIC-FPU-NEON-FP16
75 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a17 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
76 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 | FileCheck %s --check-prefix=CORTEX-M0
77 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M0-FAST
78 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
79 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0plus | FileCheck %s --check-prefix=CORTEX-M0PLUS
80 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0plus -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M0PLUS-FAST
81 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m0plus -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
82 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m1 | FileCheck %s --check-prefix=CORTEX-M1
83 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m1 -mattr=+strict-align -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M1-FAST
84 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=cortex-m1 -mattr=+strict-align -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
85 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=sc000 -mattr=+strict-align | FileCheck %s --check-prefix=SC000
86 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=sc000 -mattr=+strict-align -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=SC000-FAST
87 ; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi -mcpu=sc000 -mattr=+strict-align -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
88 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m3 | FileCheck %s --check-prefix=CORTEX-M3
89 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m3 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M3-FAST
90 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m3 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
91 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=sc300 | FileCheck %s --check-prefix=SC300
92 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=sc300 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=SC300-FAST
93 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=sc300 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
94 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m4 -float-abi=soft | FileCheck %s --check-prefix=CORTEX-M4-SOFT
95 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m4 -float-abi=soft -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M4-SOFT-FAST
96 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m4 -float-abi=hard | FileCheck %s --check-prefix=CORTEX-M4-HARD
97 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m4 -float-abi=hard -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M4-HARD-FAST
98 ; RUN: llc < %s -mtriple=thumbv7m-linux-gnueabi -mcpu=cortex-m4 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
99 ; RUN: llc < %s -mtriple=thumbv7em-linux-gnueabi -mcpu=cortex-m7 -mattr=-vfp2sp | FileCheck %s --check-prefix=CORTEX-M7 --check-prefix=CORTEX-M7-SOFT
100 ; RUN: llc < %s -mtriple=thumbv7em-linux-gnueabi -mcpu=cortex-m7 -mattr=-vfp2sp -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M7-NOFPU-FAST
101 ; RUN: llc < %s -mtriple=thumbv7em-linux-gnueabi -mcpu=cortex-m7 -mattr=-fp64 | FileCheck %s --check-prefix=CORTEX-M7 --check-prefix=CORTEX-M7-SINGLE
102 ; RUN: llc < %s -mtriple=thumbv7em-linux-gnueabi -mcpu=cortex-m7 -mattr=-fp64 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M7-FAST
103 ; RUN: llc < %s -mtriple=thumbv7em-linux-gnueabi -mcpu=cortex-m7 | FileCheck %s --check-prefix=CORTEX-M7-DOUBLE
104 ; RUN: llc < %s -mtriple=thumbv7em-linux-gnueabi -mcpu=cortex-m7 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
105 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi -mcpu=cortex-m23 | FileCheck %s --check-prefix=CORTEX-M23
106 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi -mcpu=cortex-m33 | FileCheck %s --check-prefix=CORTEX-M33
107 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi -mcpu=cortex-m33 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-M33-FAST
108 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi -mcpu=cortex-m33 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
110 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi -mcpu=cortex-m35p | FileCheck %s --check-prefix=CORTEX-M35P
111 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi -mcpu=cortex-m35p -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
113 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r4 | FileCheck %s --check-prefix=CORTEX-R4
114 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r4f | FileCheck %s --check-prefix=CORTEX-R4F
115 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r5 | FileCheck %s --check-prefix=CORTEX-R5
116 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r5 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-R5-FAST
117 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r5 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
118 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r7 | FileCheck %s --check-prefix=CORTEX-R7
119 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r7 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-R7-FAST
120 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r7 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
121 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r8 | FileCheck %s --check-prefix=CORTEX-R8
122 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r8 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-R8-FAST
123 ; RUN: llc < %s -mtriple=armv7r-linux-gnueabi -mcpu=cortex-r8 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
124 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a32 | FileCheck %s --check-prefix=CORTEX-A32
125 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a32 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A32-FAST
126 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a32 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
127 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a35 | FileCheck %s --check-prefix=CORTEX-A35
128 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a35 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A35-FAST
129 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a35 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
130 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a53 | FileCheck %s --check-prefix=CORTEX-A53
131 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a53 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A53-FAST
132 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a53 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
133 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a57 | FileCheck %s --check-prefix=CORTEX-A57
134 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a57 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A57-FAST
135 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a57 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
136 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a72 | FileCheck %s --check-prefix=CORTEX-A72
137 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a72 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A72-FAST
138 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a72 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
139 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=cortex-a73 | FileCheck %s --check-prefix=CORTEX-A73
140 ; RUN: llc < %s -mtriple=armv8.1a-linux-gnueabi | FileCheck %s --check-prefix=GENERIC-ARMV8_1-A
141 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m3 | FileCheck %s --check-prefix=EXYNOS-M3
142 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m3 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=EXYNOS-FAST
143 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m3 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
144 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m4 | FileCheck %s --check-prefix=EXYNOS-M4
145 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m4 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=EXYNOS-FAST
146 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m4 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
147 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m5 | FileCheck %s --check-prefix=EXYNOS-M5
148 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m5 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=EXYNOS-FAST
149 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mcpu=exynos-m5 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
150 ; RUN: llc < %s -mtriple=armv8.1a-linux-gnueabi -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=GENERIC-ARMV8_1-A-FAST
151 ; RUN: llc < %s -mtriple=armv8.1a-linux-gnueabi -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
152 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 | FileCheck %s --check-prefix=CORTEX-A7-CHECK
153 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A7-CHECK-FAST
154 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=-vfp2sp,-vfp3,-vfp4,-neon,-fp16 | FileCheck %s --check-prefix=CORTEX-A7-NOFPU
155 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=-vfp2sp,-vfp3,-vfp4,-neon,-fp16 -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A7-NOFPU-FAST
156 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=+vfp4,-neon | FileCheck %s --check-prefix=CORTEX-A7-FPUV4
157 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -enable-sign-dependent-rounding-fp-math | FileCheck %s --check-prefix=DYN-ROUNDING
158 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=+vfp4,-neon -enable-unsafe-fp-math -frame-pointer=all -enable-no-infs-fp-math -enable-no-nans-fp-math -fp-contract=fast | FileCheck %s --check-prefix=CORTEX-A7-FPUV4-FAST
159 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=+vfp4,,-d32,-neon | FileCheck %s --check-prefix=CORTEX-A7-FPUV4
160 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -mattr=+strict-align -relocation-model=pic | FileCheck %s --check-prefix=RELOC-PIC
161 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -mattr=+strict-align -relocation-model=static | FileCheck %s --check-prefix=RELOC-OTHER
162 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -mattr=+strict-align -relocation-model=dynamic-no-pic | FileCheck %s --check-prefix=RELOC-OTHER
163 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -mattr=+strict-align | FileCheck %s --check-prefix=RELOC-OTHER
164 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -mattr=+strict-align | FileCheck %s --check-prefix=PCS-R9-USE
165 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -mattr=+reserve-r9,+strict-align | FileCheck %s --check-prefix=PCS-R9-RESERVE
166 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -mattr=+strict-align -relocation-model=ropi | FileCheck %s --check-prefix=RELOC-ROPI
167 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -mattr=+strict-align -relocation-model=rwpi | FileCheck %s --check-prefix=RELOC-RWPI
168 ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -mattr=+strict-align -relocation-model=ropi-rwpi | FileCheck %s --check-prefix=RELOC-ROPI-RWPI
171 ; RUN: llc < %s -mtriple=armv8.1a-none-linux-gnueabi | FileCheck %s --check-prefix=NO-STRICT-ALIGN
172 ; RUN: llc < %s -mtriple=armv8.1a-none-linux-gnueabi -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
173 ; RUN: llc < %s -mtriple=armv8.1a-none-linux-gnueabi | FileCheck %s --check-prefix=NO-STRICT-ALIGN
175 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=cortex-a32 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
176 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=cortex-a32 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
177 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=cortex-a35 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
178 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=cortex-a35 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
179 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=cortex-a57 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
180 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=cortex-a57 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
181 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=cortex-a72 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
182 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=cortex-a72 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
183 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m3 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
184 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m3 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
185 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m4 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
186 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m4 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
187 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m5 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
188 ; RUN: llc < %s -mtriple=armv8-none-linux-gnueabi -mcpu=exynos-m5 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
191 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
192 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
194 ; RUN: llc < %s -mtriple=armv7ve-none-linux-gnueabi | FileCheck %s --check-prefix=V7VE
196 ; RUN: llc < %s -mtriple=armv7r-none-linux-gnueabi -mcpu=cortex-r5 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
197 ; RUN: llc < %s -mtriple=armv7r-none-linux-gnueabi -mcpu=cortex-r5 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
199 ; RUN: llc < %s -mtriple=thumbv7em-none-linux-gnueabi -mcpu=cortex-m4 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
200 ; RUN: llc < %s -mtriple=thumbv7em-none-linux-gnueabi -mcpu=cortex-m4 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
202 ; RUN: llc < %s -mtriple=thumbv7m-none-linux-gnueabi -mcpu=cortex-m3 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
203 ; RUN: llc < %s -mtriple=thumbv7m-none-linux-gnueabi -mcpu=cortex-m3 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
205 ; RUN: llc < %s -mtriple=armv6-none-netbsd-gnueabi -mcpu=arm1136j-s | FileCheck %s --check-prefix=NO-STRICT-ALIGN
206 ; RUN: llc < %s -mtriple=armv6-none-linux-gnueabi -mcpu=arm1136j-s -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
207 ; RUN: llc < %s -mtriple=armv6-none-linux-gnueabi -mcpu=arm1136j-s | FileCheck %s --check-prefix=NO-STRICT-ALIGN
209 ; RUN: llc < %s -mtriple=armv6k-none-netbsd-gnueabi -mcpu=mpcore 2> %t | FileCheck %s --check-prefix=NO-STRICT-ALIGN
210 ; RUN: FileCheck %s < %t --allow-empty --check-prefix=CPU-SUPPORTED
211 ; RUN: llc < %s -mtriple=armv6k-none-linux-gnueabi -mcpu=mpcore -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
212 ; RUN: llc < %s -mtriple=armv6k-none-linux-gnueabi -mcpu=mpcore | FileCheck %s --check-prefix=NO-STRICT-ALIGN
214 ; RUN: llc < %s -mtriple=thumb-none-linux-gnueabi -mcpu=cortex-m0 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
215 ; RUN: llc < %s -mtriple=thumb-none-linux-gnueabi -mattr=+strict-align -mcpu=cortex-m0 | FileCheck %s --check-prefix=STRICT-ALIGN
216 ; RUN: llc < %s -mtriple=thumbv6m-none-linux-gnueabi -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
217 ; RUN: llc < %s -mtriple=thumb-none-linux-gnueabi -mcpu=cortex-m0 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
219 ; RUN: llc < %s -mtriple=armv5-none-linux-gnueabi -mcpu=arm1022e | FileCheck %s --check-prefix=NO-STRICT-ALIGN
220 ; RUN: llc < %s -mtriple=armv5-none-linux-gnueabi -mcpu=arm1022e -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
223 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-r52 -mattr=-vfp2sp,-fp16 | FileCheck %s --check-prefix=ARMv8R --check-prefix=ARMv8R-NOFPU
224 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-r52 -mattr=-neon,-fp64,-d32 | FileCheck %s --check-prefix=ARMv8R --check-prefix=ARMv8R-SP
225 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-r52 | FileCheck %s --check-prefix=ARMv8R --check-prefix=ARMv8R-NEON
227 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-r52plus -mattr=-vfp2sp,-fp16 | FileCheck %s --check-prefix=ARMv8R --check-prefix=ARMv8R-NOFPU
228 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-r52plus -mattr=-neon,-fp64,-d32 | FileCheck %s --check-prefix=ARMv8R --check-prefix=ARMv8R-SP
229 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-r52plus | FileCheck %s --check-prefix=ARMv8R --check-prefix=ARMv8R-NEON
232 ; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m23 | FileCheck %s --check-prefix=STRICT-ALIGN
233 ; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m33 | FileCheck %s --check-prefix=NO-STRICT-ALIGN
234 ; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m33 -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
235 ; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m35p | FileCheck %s --check-prefix=NO-STRICT-ALIGN
236 ; RUN: llc < %s -mtriple=thumbv8-none-none-eabi -mcpu=cortex-m35p -mattr=+strict-align | FileCheck %s --check-prefix=STRICT-ALIGN
237 ; RUN: llc < %s -mtriple=thumbv8.1m.main-none-none-eabi | FileCheck %s --check-prefix=ARMv81M-MAIN
238 ; RUN: llc < %s -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve | FileCheck %s --check-prefix=ARMv81M-MAIN-MVEINT
239 ; RUN: llc < %s -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve.fp | FileCheck %s --check-prefix=ARMv81M-MAIN-MVEFP
240 ; RUN: llc < %s -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+pacbti | FileCheck %s --check-prefix=ARMv81M-MAIN-PACBTI
241 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-m55 | FileCheck %s --check-prefix=CORTEX-M55
242 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-m85 | FileCheck %s --check-prefix=CORTEX-M85
243 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-m85+nopacbti | FileCheck %s --check-prefix=CHECK-NO-PACBTI
245 ; CPU-SUPPORTED-NOT: is not a recognized processor for this target
247 ; XSCALE: .eabi_attribute 6, 5
248 ; XSCALE: .eabi_attribute 8, 1
249 ; XSCALE: .eabi_attribute 9, 1
251 ; DYN-ROUNDING: .eabi_attribute 19, 1
253 ; V6: .eabi_attribute 6, 6
254 ; V6: .eabi_attribute 8, 1
255 ;; We assume round-to-nearest by default (matches GCC)
256 ; V6-NOT: .eabi_attribute 27
257 ; V6-NOT: .eabi_attribute 36
258 ; V6-NOT: .eabi_attribute 42
259 ; V6-NOT: .eabi_attribute 44
260 ; V6-NOT: .eabi_attribute 68
261 ; V6-NOT: .eabi_attribute 19
262 ;; The default choice made by llc is for a V6 CPU without an FPU.
263 ;; This is not an interesting detail, but for such CPUs, the default intention is to use
264 ;; software floating-point support. The choice is not important for targets without
266 ; V6: .eabi_attribute 20, 1
267 ; V6: .eabi_attribute 21, 1
268 ; V6-NOT: .eabi_attribute 22
269 ; V6: .eabi_attribute 23, 3
270 ; V6: .eabi_attribute 24, 1
271 ; V6: .eabi_attribute 25, 1
272 ; V6-NOT: .eabi_attribute 28
273 ; V6: .eabi_attribute 38, 1
275 ; V6-FAST-NOT: .eabi_attribute 19
276 ;; Despite the V6 CPU having no FPU by default, we chose to flush to
277 ;; positive zero here. There's no hardware support doing this, but the
278 ;; fast maths software library might.
279 ; V6-FAST-NOT: .eabi_attribute 20
280 ; V6-FAST-NOT: .eabi_attribute 21
281 ; V6-FAST-NOT: .eabi_attribute 22
282 ; V6-FAST: .eabi_attribute 23, 1
284 ;; We emit 6, 12 for both v6-M and v6S-M, technically this is incorrect for
285 ;; V6-M, however we don't model the OS extension so this is fine.
286 ; V6M: .eabi_attribute 6, 12
287 ; V6M: .eabi_attribute 7, 77
288 ; V6M: .eabi_attribute 8, 0
289 ; V6M: .eabi_attribute 9, 1
290 ; V6M-NOT: .eabi_attribute 27
291 ; V6M-NOT: .eabi_attribute 36
292 ; V6M-NOT: .eabi_attribute 42
293 ; V6M-NOT: .eabi_attribute 44
294 ; V6M-NOT: .eabi_attribute 68
295 ; V6M-NOT: .eabi_attribute 19
296 ;; The default choice made by llc is for a V6M CPU without an FPU.
297 ;; This is not an interesting detail, but for such CPUs, the default intention is to use
298 ;; software floating-point support. The choice is not important for targets without
300 ; V6M: .eabi_attribute 20, 1
301 ; V6M: .eabi_attribute 21, 1
302 ; V6M-NOT: .eabi_attribute 22
303 ; V6M: .eabi_attribute 23, 3
304 ; V6M: .eabi_attribute 24, 1
305 ; V6M: .eabi_attribute 25, 1
306 ; V6M-NOT: .eabi_attribute 28
307 ; V6M: .eabi_attribute 38, 1
309 ; V6M-FAST-NOT: .eabi_attribute 19
310 ;; Despite the V6M CPU having no FPU by default, we chose to flush to
311 ;; positive zero here. There's no hardware support doing this, but the
312 ;; fast maths software library might.
313 ; V6M-FAST-NOT: .eabi_attribute 20
314 ; V6M-FAST-NOT: .eabi_attribute 21
315 ; V6M-FAST-NOT: .eabi_attribute 22
316 ; V6M-FAST: .eabi_attribute 23, 1
318 ; ARM1156T2F-S: .cpu arm1156t2f-s
319 ; ARM1156T2F-S: .eabi_attribute 6, 8
320 ; ARM1156T2F-S: .eabi_attribute 8, 1
321 ; ARM1156T2F-S: .eabi_attribute 9, 2
322 ; ARM1156T2F-S: .fpu vfpv2
323 ; ARM1156T2F-S-NOT: .eabi_attribute 27
324 ; ARM1156T2F-S-NOT: .eabi_attribute 36
325 ; ARM1156T2F-S-NOT: .eabi_attribute 42
326 ; ARM1156T2F-S-NOT: .eabi_attribute 44
327 ; ARM1156T2F-S-NOT: .eabi_attribute 68
328 ; ARM1156T2F-S-NOT: .eabi_attribute 19
329 ;; We default to IEEE 754 compliance
330 ; ARM1156T2F-S: .eabi_attribute 20, 1
331 ; ARM1156T2F-S: .eabi_attribute 21, 1
332 ; ARM1156T2F-S-NOT: .eabi_attribute 22
333 ; ARM1156T2F-S: .eabi_attribute 23, 3
334 ; ARM1156T2F-S: .eabi_attribute 24, 1
335 ; ARM1156T2F-S: .eabi_attribute 25, 1
336 ; ARM1156T2F-S-NOT: .eabi_attribute 28
337 ; ARM1156T2F-S: .eabi_attribute 38, 1
339 ; ARM1156T2F-S-FAST-NOT: .eabi_attribute 19
340 ;; V6 cores default to flush to positive zero (value 0). Note that value 2 is also equally
341 ;; valid for this core, it's an implementation defined question as to which of 0 and 2 you
342 ;; select. LLVM historically picks 0.
343 ; ARM1156T2F-S-FAST-NOT: .eabi_attribute 20
344 ; ARM1156T2F-S-FAST-NOT: .eabi_attribute 21
345 ; ARM1156T2F-S-FAST-NOT: .eabi_attribute 22
346 ; ARM1156T2F-S-FAST: .eabi_attribute 23, 1
348 ; V7M: .eabi_attribute 6, 10
349 ; V7M: .eabi_attribute 7, 77
350 ; V7M: .eabi_attribute 8, 0
351 ; V7M: .eabi_attribute 9, 2
352 ; V7M-NOT: .eabi_attribute 27
353 ; V7M-NOT: .eabi_attribute 36
354 ; V7M-NOT: .eabi_attribute 42
355 ; V7M-NOT: .eabi_attribute 44
356 ; V7M-NOT: .eabi_attribute 68
357 ; V7M-NOT: .eabi_attribute 19
358 ;; The default choice made by llc is for a V7M CPU without an FPU.
359 ;; This is not an interesting detail, but for such CPUs, the default intention is to use
360 ;; software floating-point support. The choice is not important for targets without
362 ; V7M: .eabi_attribute 20, 1
363 ; V7M: .eabi_attribute 21, 1
364 ; V7M-NOT: .eabi_attribute 22
365 ; V7M: .eabi_attribute 23, 3
366 ; V7M: .eabi_attribute 24, 1
367 ; V7M: .eabi_attribute 25, 1
368 ; V7M-NOT: .eabi_attribute 28
369 ; V7M: .eabi_attribute 38, 1
371 ; V7M-FAST-NOT: .eabi_attribute 19
372 ;; Despite the V7M CPU having no FPU by default, we chose to flush
373 ;; preserving sign. This matches what the hardware would do in the
374 ;; architecture revision were to exist on the current target.
375 ; V7M-FAST: .eabi_attribute 20, 2
376 ; V7M-FAST-NOT: .eabi_attribute 21
377 ; V7M-FAST-NOT: .eabi_attribute 22
378 ; V7M-FAST: .eabi_attribute 23, 1
380 ; V7: .syntax unified
381 ; V7: .eabi_attribute 6, 10
382 ; V7-NOT: .eabi_attribute 27
383 ; V7-NOT: .eabi_attribute 36
384 ; V7-NOT: .eabi_attribute 42
385 ; V7-NOT: .eabi_attribute 44
386 ; V7-NOT: .eabi_attribute 68
387 ; V7-NOT: .eabi_attribute 19
388 ;; In safe-maths mode we default to an IEEE 754 compliant choice.
389 ; V7: .eabi_attribute 20, 1
390 ; V7: .eabi_attribute 21, 1
391 ; V7-NOT: .eabi_attribute 22
392 ; V7: .eabi_attribute 23, 3
393 ; V7: .eabi_attribute 24, 1
394 ; V7: .eabi_attribute 25, 1
395 ; V7-NOT: .eabi_attribute 28
396 ; V7: .eabi_attribute 38, 1
398 ; V7-FAST-NOT: .eabi_attribute 19
399 ;; The default CPU does have an FPU and it must be VFPv3 or better, so it flushes
400 ;; denormals to zero preserving the sign.
401 ; V7-FAST: .eabi_attribute 20, 2
402 ; V7-FAST-NOT: .eabi_attribute 21
403 ; V7-FAST-NOT: .eabi_attribute 22
404 ; V7-FAST: .eabi_attribute 23, 1
406 ; V7VE: .syntax unified
407 ; V7VE: .eabi_attribute 6, 10 @ Tag_CPU_arch
408 ; V7VE: .eabi_attribute 7, 65 @ Tag_CPU_arch_profile
409 ; V7VE: .eabi_attribute 8, 1 @ Tag_ARM_ISA_use
410 ; V7VE: .eabi_attribute 9, 2 @ Tag_THUMB_ISA_use
411 ; V7VE: .eabi_attribute 42, 1 @ Tag_MPextension_use
412 ; V7VE: .eabi_attribute 44, 2 @ Tag_DIV_use
413 ; V7VE: .eabi_attribute 68, 3 @ Tag_Virtualization_use
414 ; V7VE: .eabi_attribute 17, 1 @ Tag_ABI_PCS_GOT_use
415 ; V7VE: .eabi_attribute 20, 1 @ Tag_ABI_FP_denormal
416 ; V7VE: .eabi_attribute 21, 1 @ Tag_ABI_FP_exceptions
417 ; V7VE: .eabi_attribute 23, 3 @ Tag_ABI_FP_number_model
418 ; V7VE: .eabi_attribute 24, 1 @ Tag_ABI_align_needed
419 ; V7VE: .eabi_attribute 25, 1 @ Tag_ABI_align_preserved
420 ; V7VE: .eabi_attribute 38, 1 @ Tag_ABI_FP_16bit_format
422 ; V8: .syntax unified
423 ; V8: .eabi_attribute 67, "2.09"
424 ; V8: .eabi_attribute 6, 14
425 ; V8-NOT: .eabi_attribute 44
426 ; V8-NOT: .eabi_attribute 19
427 ; V8: .eabi_attribute 20, 1
428 ; V8: .eabi_attribute 21, 1
429 ; V8-NOT: .eabi_attribute 22
430 ; V8: .eabi_attribute 23, 3
432 ; V8-FAST-NOT: .eabi_attribute 19
433 ;; The default does have an FPU, and for V8-A, it flushes preserving sign.
434 ; V8-FAST: .eabi_attribute 20, 2
435 ; V8-FAST-NOT: .eabi_attribute 21
436 ; V8-FAST-NOT: .eabi_attribute 22
437 ; V8-FAST: .eabi_attribute 23, 1
439 ; Vt8: .syntax unified
440 ; Vt8: .eabi_attribute 6, 14
441 ; Vt8-NOT: .eabi_attribute 19
442 ; Vt8: .eabi_attribute 20, 1
443 ; Vt8: .eabi_attribute 21, 1
444 ; Vt8-NOT: .eabi_attribute 22
445 ; Vt8: .eabi_attribute 23, 3
447 ; V8-FPARMv8: .syntax unified
448 ; V8-FPARMv8: .eabi_attribute 6, 14
449 ; V8-FPARMv8: .fpu fp-armv8
451 ; V8-NEON: .syntax unified
452 ; V8-NEON: .eabi_attribute 6, 14
454 ; V8-NEON: .eabi_attribute 12, 3
456 ; V8-FPARMv8-NEON: .syntax unified
457 ; V8-FPARMv8-NEON: .eabi_attribute 6, 14
458 ; V8-FPARMv8-NEON: .fpu neon-fp-armv8
459 ; V8-FPARMv8-NEON: .eabi_attribute 12, 3
461 ; V8-FPARMv8-NEON-CRYPTO: .syntax unified
462 ; V8-FPARMv8-NEON-CRYPTO: .eabi_attribute 6, 14
463 ; V8-FPARMv8-NEON-CRYPTO: .fpu crypto-neon-fp-armv8
464 ; V8-FPARMv8-NEON-CRYPTO: .eabi_attribute 12, 3
466 ; V8MBASELINE: .syntax unified
467 ; '6' is Tag_CPU_arch, '16' is ARM v8-M Baseline
468 ; V8MBASELINE: .eabi_attribute 6, 16
469 ; '7' is Tag_CPU_arch_profile, '77' is 'M'
470 ; V8MBASELINE: .eabi_attribute 7, 77
471 ; '8' is Tag_ARM_ISA_use
472 ; V8MBASELINE: .eabi_attribute 8, 0
473 ; '9' is Tag_Thumb_ISA_use
474 ; V8MBASELINE: .eabi_attribute 9, 3
476 ; V8MMAINLINE: .syntax unified
477 ; '6' is Tag_CPU_arch, '17' is ARM v8-M Mainline
478 ; V8MMAINLINE: .eabi_attribute 6, 17
479 ; V8MMAINLINE: .eabi_attribute 7, 77
480 ; V8MMAINLINE: .eabi_attribute 8, 0
481 ; V8MMAINLINE: .eabi_attribute 9, 3
482 ; V8MMAINLINE_DSP-NOT: .eabi_attribute 46
484 ; V8MMAINLINE_DSP: .syntax unified
485 ; V8MBASELINE_DSP: .eabi_attribute 6, 17
486 ; V8MBASELINE_DSP: .eabi_attribute 7, 77
487 ; V8MMAINLINE_DSP: .eabi_attribute 8, 0
488 ; V8MMAINLINE_DSP: .eabi_attribute 9, 3
489 ; V8MMAINLINE_DSP: .eabi_attribute 46, 1
491 ; Tag_CPU_unaligned_access
492 ; NO-STRICT-ALIGN: .eabi_attribute 34, 1
493 ; STRICT-ALIGN: .eabi_attribute 34, 0
495 ; Tag_CPU_arch 'ARMv7'
496 ; CORTEX-A7-CHECK: .eabi_attribute 6, 10
497 ; CORTEX-A7-NOFPU: .eabi_attribute 6, 10
499 ; CORTEX-A7-FPUV4: .eabi_attribute 6, 10
501 ; Tag_CPU_arch_profile 'A'
502 ; CORTEX-A7-CHECK: .eabi_attribute 7, 65
503 ; CORTEX-A7-NOFPU: .eabi_attribute 7, 65
504 ; CORTEX-A7-FPUV4: .eabi_attribute 7, 65
507 ; CORTEX-A7-CHECK: .eabi_attribute 8, 1
508 ; CORTEX-A7-NOFPU: .eabi_attribute 8, 1
509 ; CORTEX-A7-FPUV4: .eabi_attribute 8, 1
512 ; CORTEX-A7-CHECK: .eabi_attribute 9, 2
513 ; CORTEX-A7-NOFPU: .eabi_attribute 9, 2
514 ; CORTEX-A7-FPUV4: .eabi_attribute 9, 2
516 ; CORTEX-A7-CHECK: .fpu neon-vfpv4
517 ; CORTEX-A7-NOFPU-NOT: .fpu
518 ; CORTEX-A7-FPUV4: .fpu vfpv4
520 ; CORTEX-A7-CHECK-NOT: .eabi_attribute 19
522 ; Tag_FP_HP_extension
523 ; CORTEX-A7-CHECK: .eabi_attribute 36, 1
524 ; CORTEX-A7-NOFPU-NOT: .eabi_attribute 36
525 ; CORTEX-A7-FPUV4: .eabi_attribute 36, 1
527 ; Tag_MPextension_use
528 ; CORTEX-A7-CHECK: .eabi_attribute 42, 1
529 ; CORTEX-A7-NOFPU: .eabi_attribute 42, 1
530 ; CORTEX-A7-FPUV4: .eabi_attribute 42, 1
533 ; CORTEX-A7-CHECK: .eabi_attribute 44, 2
534 ; CORTEX-A7-NOFPU: .eabi_attribute 44, 2
535 ; CORTEX-A7-FPUV4: .eabi_attribute 44, 2
538 ; CORTEX-A7-CHECK-NOT: .eabi_attribute 46
540 ; Tag_Virtualization_use
541 ; CORTEX-A7-CHECK: .eabi_attribute 68, 3
542 ; CORTEX-A7-NOFPU: .eabi_attribute 68, 3
543 ; CORTEX-A7-FPUV4: .eabi_attribute 68, 3
545 ; Tag_ABI_FP_denormal
546 ;; We default to IEEE 754 compliance
547 ; CORTEX-A7-CHECK: .eabi_attribute 20, 1
548 ;; The A7 has VFPv3 support by default, so flush preserving sign.
549 ; CORTEX-A7-CHECK-FAST: .eabi_attribute 20, 2
550 ; CORTEX-A7-NOFPU: .eabi_attribute 20, 1
551 ;; Despite there being no FPU, we chose to flush to zero preserving
552 ;; sign. This matches what the hardware would do for this architecture
554 ; CORTEX-A7-NOFPU-FAST: .eabi_attribute 20, 2
555 ; CORTEX-A7-FPUV4: .eabi_attribute 20, 1
556 ;; The VFPv4 FPU flushes preserving sign.
557 ; CORTEX-A7-FPUV4-FAST: .eabi_attribute 20, 2
559 ; Tag_ABI_FP_exceptions
560 ; CORTEX-A7-CHECK: .eabi_attribute 21, 1
561 ; CORTEX-A7-NOFPU: .eabi_attribute 21, 1
562 ; CORTEX-A7-FPUV4: .eabi_attribute 21, 1
564 ; Tag_ABI_FP_user_exceptions
565 ; CORTEX-A7-CHECK-NOT: .eabi_attribute 22
566 ; CORTEX-A7-NOFPU-NOT: .eabi_attribute 22
567 ; CORTEX-A7-FPUV4-NOT: .eabi_attribute 22
569 ; Tag_ABI_FP_number_model
570 ; CORTEX-A7-CHECK: .eabi_attribute 23, 3
571 ; CORTEX-A7-NOFPU: .eabi_attribute 23, 3
572 ; CORTEX-A7-FPUV4: .eabi_attribute 23, 3
574 ; Tag_ABI_align_needed
575 ; CORTEX-A7-CHECK: .eabi_attribute 24, 1
576 ; CORTEX-A7-NOFPU: .eabi_attribute 24, 1
577 ; CORTEX-A7-FPUV4: .eabi_attribute 24, 1
579 ; Tag_ABI_align_preserved
580 ; CORTEX-A7-CHECK: .eabi_attribute 25, 1
581 ; CORTEX-A7-NOFPU: .eabi_attribute 25, 1
582 ; CORTEX-A7-FPUV4: .eabi_attribute 25, 1
584 ; Tag_FP_16bit_format
585 ; CORTEX-A7-CHECK: .eabi_attribute 38, 1
586 ; CORTEX-A7-NOFPU: .eabi_attribute 38, 1
587 ; CORTEX-A7-FPUV4: .eabi_attribute 38, 1
589 ; CORTEX-A5-DEFAULT: .cpu cortex-a5
590 ; CORTEX-A5-DEFAULT: .eabi_attribute 6, 10
591 ; CORTEX-A5-DEFAULT: .eabi_attribute 7, 65
592 ; CORTEX-A5-DEFAULT: .eabi_attribute 8, 1
593 ; CORTEX-A5-DEFAULT: .eabi_attribute 9, 2
594 ; CORTEX-A5-DEFAULT: .fpu neon-vfpv4
595 ; CORTEX-A5-DEFAULT: .eabi_attribute 42, 1
596 ; CORTEX-A5-DEFAULT-NOT: .eabi_attribute 44
597 ; CORTEX-A5-DEFAULT: .eabi_attribute 68, 1
598 ; CORTEX-A5-NOT: .eabi_attribute 19
599 ;; We default to IEEE 754 compliance
600 ; CORTEX-A5-DEFAULT: .eabi_attribute 20, 1
601 ; CORTEX-A5-DEFAULT: .eabi_attribute 21, 1
602 ; CORTEX-A5-DEFAULT-NOT: .eabi_attribute 22
603 ; CORTEX-A5-DEFAULT: .eabi_attribute 23, 3
604 ; CORTEX-A5-DEFAULT: .eabi_attribute 24, 1
605 ; CORTEX-A5-DEFAULT: .eabi_attribute 25, 1
607 ; CORTEX-A5-DEFAULT-FAST-NOT: .eabi_attribute 19
608 ;; The A5 defaults to a VFPv4 FPU, so it flushed preserving the sign when -ffast-math
610 ; CORTEX-A5-DEFAULT-FAST: .eabi_attribute 20, 2
611 ; CORTEX-A5-DEFAULT-FAST-NOT: .eabi_attribute 21
612 ; CORTEX-A5-DEFAULT-FAST-NOT: .eabi_attribute 22
613 ; CORTEX-A5-DEFAULT-FAST: .eabi_attribute 23, 1
615 ; CORTEX-A5-NONEON: .cpu cortex-a5
616 ; CORTEX-A5-NONEON: .eabi_attribute 6, 10
617 ; CORTEX-A5-NONEON: .eabi_attribute 7, 65
618 ; CORTEX-A5-NONEON: .eabi_attribute 8, 1
619 ; CORTEX-A5-NONEON: .eabi_attribute 9, 2
620 ; CORTEX-A5-NONEON: .fpu vfpv4-d16
621 ; CORTEX-A5-NONEON: .eabi_attribute 42, 1
622 ; CORTEX-A5-NONEON: .eabi_attribute 68, 1
623 ;; We default to IEEE 754 compliance
624 ; CORTEX-A5-NONEON: .eabi_attribute 20, 1
625 ; CORTEX-A5-NONEON: .eabi_attribute 21, 1
626 ; CORTEX-A5-NONEON-NOT: .eabi_attribute 22
627 ; CORTEX-A5-NONEON: .eabi_attribute 23, 3
628 ; CORTEX-A5-NONEON: .eabi_attribute 24, 1
629 ; CORTEX-A5-NONEON: .eabi_attribute 25, 1
631 ; CORTEX-A5-NONEON-FAST-NOT: .eabi_attribute 19
632 ;; The A5 defaults to a VFPv4 FPU, so it flushed preserving sign when -ffast-math
634 ; CORTEX-A5-NONEON-FAST: .eabi_attribute 20, 2
635 ; CORTEX-A5-NONEON-FAST-NOT: .eabi_attribute 21
636 ; CORTEX-A5-NONEON-FAST-NOT: .eabi_attribute 22
637 ; CORTEX-A5-NONEON-FAST: .eabi_attribute 23, 1
639 ; CORTEX-A5-NOFPU: .cpu cortex-a5
640 ; CORTEX-A5-NOFPU: .eabi_attribute 6, 10
641 ; CORTEX-A5-NOFPU: .eabi_attribute 7, 65
642 ; CORTEX-A5-NOFPU: .eabi_attribute 8, 1
643 ; CORTEX-A5-NOFPU: .eabi_attribute 9, 2
644 ; CORTEX-A5-NOFPU-NOT: .fpu
645 ; CORTEX-A5-NOFPU: .eabi_attribute 42, 1
646 ; CORTEX-A5-NOFPU: .eabi_attribute 68, 1
647 ; CORTEX-A5-NOFPU-NOT: .eabi_attribute 19
648 ;; We default to IEEE 754 compliance
649 ; CORTEX-A5-NOFPU: .eabi_attribute 20, 1
650 ; CORTEX-A5-NOFPU: .eabi_attribute 21, 1
651 ; CORTEX-A5-NOFPU-NOT: .eabi_attribute 22
652 ; CORTEX-A5-NOFPU: .eabi_attribute 23, 3
653 ; CORTEX-A5-NOFPU: .eabi_attribute 24, 1
654 ; CORTEX-A5-NOFPU: .eabi_attribute 25, 1
656 ; CORTEX-A5-NOFPU-FAST-NOT: .eabi_attribute 19
657 ;; Despite there being no FPU, we chose to flush to zero preserving
658 ;; sign. This matches what the hardware would do for this architecture
660 ; CORTEX-A5-NOFPU-FAST: .eabi_attribute 20, 2
661 ; CORTEX-A5-NOFPU-FAST-NOT: .eabi_attribute 21
662 ; CORTEX-A5-NOFPU-FAST-NOT: .eabi_attribute 22
663 ; CORTEX-A5-NOFPU-FAST: .eabi_attribute 23, 1
665 ; CORTEX-A8-SOFT: .cpu cortex-a8
666 ; CORTEX-A8-SOFT: .eabi_attribute 6, 10
667 ; CORTEX-A8-SOFT: .eabi_attribute 7, 65
668 ; CORTEX-A8-SOFT: .eabi_attribute 8, 1
669 ; CORTEX-A8-SOFT: .eabi_attribute 9, 2
670 ; CORTEX-A8-SOFT: .fpu neon
671 ; CORTEX-A8-SOFT-NOT: .eabi_attribute 27
672 ; CORTEX-A8-SOFT-NOT: .eabi_attribute 36, 1
673 ; CORTEX-A8-SOFT-NOT: .eabi_attribute 42, 1
674 ; CORTEX-A8-SOFT-NOT: .eabi_attribute 44
675 ; CORTEX-A8-SOFT: .eabi_attribute 68, 1
676 ; CORTEX-A8-SOFT-NOT: .eabi_attribute 19
677 ;; We default to IEEE 754 compliance
678 ; CORTEX-A8-SOFT: .eabi_attribute 20, 1
679 ; CORTEX-A8-SOFT: .eabi_attribute 21, 1
680 ; CORTEX-A8-SOFT-NOT: .eabi_attribute 22
681 ; CORTEX-A8-SOFT: .eabi_attribute 23, 3
682 ; CORTEX-A8-SOFT: .eabi_attribute 24, 1
683 ; CORTEX-A8-SOFT: .eabi_attribute 25, 1
684 ; CORTEX-A8-SOFT-NOT: .eabi_attribute 28
685 ; CORTEX-A8-SOFT: .eabi_attribute 38, 1
687 ; CORTEX-A9-SOFT: .cpu cortex-a9
688 ; CORTEX-A9-SOFT: .eabi_attribute 6, 10
689 ; CORTEX-A9-SOFT: .eabi_attribute 7, 65
690 ; CORTEX-A9-SOFT: .eabi_attribute 8, 1
691 ; CORTEX-A9-SOFT: .eabi_attribute 9, 2
692 ; CORTEX-A9-SOFT: .fpu neon
693 ; CORTEX-A9-SOFT-NOT: .eabi_attribute 27
694 ; CORTEX-A9-SOFT: .eabi_attribute 36, 1
695 ; CORTEX-A9-SOFT: .eabi_attribute 42, 1
696 ; CORTEX-A9-SOFT-NOT: .eabi_attribute 44
697 ; CORTEX-A9-SOFT: .eabi_attribute 68, 1
698 ; CORTEX-A9-SOFT-NOT: .eabi_attribute 19
699 ;; We default to IEEE 754 compliance
700 ; CORTEX-A9-SOFT: .eabi_attribute 20, 1
701 ; CORTEX-A9-SOFT: .eabi_attribute 21, 1
702 ; CORTEX-A9-SOFT-NOT: .eabi_attribute 22
703 ; CORTEX-A9-SOFT: .eabi_attribute 23, 3
704 ; CORTEX-A9-SOFT: .eabi_attribute 24, 1
705 ; CORTEX-A9-SOFT: .eabi_attribute 25, 1
706 ; CORTEX-A9-SOFT-NOT: .eabi_attribute 28
707 ; CORTEX-A9-SOFT: .eabi_attribute 38, 1
709 ; CORTEX-A8-SOFT-FAST-NOT: .eabi_attribute 19
710 ; CORTEX-A9-SOFT-FAST-NOT: .eabi_attribute 19
711 ;; The A9 defaults to a VFPv3 FPU, so it flushes preserving the sign when
712 ;; -ffast-math is specified.
713 ; CORTEX-A8-SOFT-FAST: .eabi_attribute 20, 2
714 ; CORTEX-A9-SOFT-FAST: .eabi_attribute 20, 2
715 ; CORTEX-A5-SOFT-FAST-NOT: .eabi_attribute 21
716 ; CORTEX-A5-SOFT-FAST-NOT: .eabi_attribute 22
717 ; CORTEX-A5-SOFT-FAST: .eabi_attribute 23, 1
719 ; CORTEX-A8-HARD: .cpu cortex-a8
720 ; CORTEX-A8-HARD: .eabi_attribute 6, 10
721 ; CORTEX-A8-HARD: .eabi_attribute 7, 65
722 ; CORTEX-A8-HARD: .eabi_attribute 8, 1
723 ; CORTEX-A8-HARD: .eabi_attribute 9, 2
724 ; CORTEX-A8-HARD: .fpu neon
725 ; CORTEX-A8-HARD-NOT: .eabi_attribute 27
726 ; CORTEX-A8-HARD-NOT: .eabi_attribute 36, 1
727 ; CORTEX-A8-HARD-NOT: .eabi_attribute 42, 1
728 ; CORTEX-A8-HARD: .eabi_attribute 68, 1
729 ; CORTEX-A8-HARD-NOT: .eabi_attribute 19
730 ;; We default to IEEE 754 compliance
731 ; CORTEX-A8-HARD: .eabi_attribute 20, 1
732 ; CORTEX-A8-HARD: .eabi_attribute 21, 1
733 ; CORTEX-A8-HARD-NOT: .eabi_attribute 22
734 ; CORTEX-A8-HARD: .eabi_attribute 23, 3
735 ; CORTEX-A8-HARD: .eabi_attribute 24, 1
736 ; CORTEX-A8-HARD: .eabi_attribute 25, 1
737 ; CORTEX-A8-HARD: .eabi_attribute 28, 1
738 ; CORTEX-A8-HARD: .eabi_attribute 38, 1
742 ; CORTEX-A9-HARD: .cpu cortex-a9
743 ; CORTEX-A9-HARD: .eabi_attribute 6, 10
744 ; CORTEX-A9-HARD: .eabi_attribute 7, 65
745 ; CORTEX-A9-HARD: .eabi_attribute 8, 1
746 ; CORTEX-A9-HARD: .eabi_attribute 9, 2
747 ; CORTEX-A9-HARD: .fpu neon
748 ; CORTEX-A9-HARD-NOT: .eabi_attribute 27
749 ; CORTEX-A9-HARD: .eabi_attribute 36, 1
750 ; CORTEX-A9-HARD: .eabi_attribute 42, 1
751 ; CORTEX-A9-HARD: .eabi_attribute 68, 1
752 ; CORTEX-A9-HARD-NOT: .eabi_attribute 19
753 ;; We default to IEEE 754 compliance
754 ; CORTEX-A9-HARD: .eabi_attribute 20, 1
755 ; CORTEX-A9-HARD: .eabi_attribute 21, 1
756 ; CORTEX-A9-HARD-NOT: .eabi_attribute 22
757 ; CORTEX-A9-HARD: .eabi_attribute 23, 3
758 ; CORTEX-A9-HARD: .eabi_attribute 24, 1
759 ; CORTEX-A9-HARD: .eabi_attribute 25, 1
760 ; CORTEX-A9-HARD: .eabi_attribute 28, 1
761 ; CORTEX-A9-HARD: .eabi_attribute 38, 1
763 ; CORTEX-A8-HARD-FAST-NOT: .eabi_attribute 19
764 ;; The A8 defaults to a VFPv3 FPU, so it flushes preserving the sign when
765 ;; -ffast-math is specified.
766 ; CORTEX-A8-HARD-FAST: .eabi_attribute 20, 2
767 ; CORTEX-A8-HARD-FAST-NOT: .eabi_attribute 21
768 ; CORTEX-A8-HARD-FAST-NOT: .eabi_attribute 22
769 ; CORTEX-A8-HARD-FAST: .eabi_attribute 23, 1
771 ; CORTEX-A9-HARD-FAST-NOT: .eabi_attribute 19
772 ;; The A9 defaults to a VFPv3 FPU, so it flushes preserving the sign when
773 ;; -ffast-math is specified.
774 ; CORTEX-A9-HARD-FAST: .eabi_attribute 20, 2
775 ; CORTEX-A9-HARD-FAST-NOT: .eabi_attribute 21
776 ; CORTEX-A9-HARD-FAST-NOT: .eabi_attribute 22
777 ; CORTEX-A9-HARD-FAST: .eabi_attribute 23, 1
779 ; CORTEX-A12-DEFAULT: .cpu cortex-a12
780 ; CORTEX-A12-DEFAULT: .eabi_attribute 6, 10
781 ; CORTEX-A12-DEFAULT: .eabi_attribute 7, 65
782 ; CORTEX-A12-DEFAULT: .eabi_attribute 8, 1
783 ; CORTEX-A12-DEFAULT: .eabi_attribute 9, 2
784 ; CORTEX-A12-DEFAULT: .fpu neon-vfpv4
785 ; CORTEX-A12-DEFAULT: .eabi_attribute 42, 1
786 ; CORTEX-A12-DEFAULT: .eabi_attribute 44, 2
787 ; CORTEX-A12-DEFAULT: .eabi_attribute 68, 3
788 ; CORTEX-A12-DEFAULT-NOT: .eabi_attribute 19
789 ;; We default to IEEE 754 compliance
790 ; CORTEX-A12-DEFAULT: .eabi_attribute 20, 1
791 ; CORTEX-A12-DEFAULT: .eabi_attribute 21, 1
792 ; CORTEX-A12-DEFAULT-NOT: .eabi_attribute 22
793 ; CORTEX-A12-DEFAULT: .eabi_attribute 23, 3
794 ; CORTEX-A12-DEFAULT: .eabi_attribute 24, 1
795 ; CORTEX-A12-DEFAULT: .eabi_attribute 25, 1
797 ; CORTEX-A12-DEFAULT-FAST-NOT: .eabi_attribute 19
798 ;; The A12 defaults to a VFPv3 FPU, so it flushes preserving the sign when
799 ;; -ffast-math is specified.
800 ; CORTEX-A12-DEFAULT-FAST: .eabi_attribute 20, 2
801 ; CORTEX-A12-HARD-FAST-NOT: .eabi_attribute 21
802 ; CORTEX-A12-HARD-FAST-NOT: .eabi_attribute 22
803 ; CORTEX-A12-HARD-FAST: .eabi_attribute 23, 1
805 ; CORTEX-A12-NOFPU: .cpu cortex-a12
806 ; CORTEX-A12-NOFPU: .eabi_attribute 6, 10
807 ; CORTEX-A12-NOFPU: .eabi_attribute 7, 65
808 ; CORTEX-A12-NOFPU: .eabi_attribute 8, 1
809 ; CORTEX-A12-NOFPU: .eabi_attribute 9, 2
810 ; CORTEX-A12-NOFPU-NOT: .fpu
811 ; CORTEX-A12-NOFPU: .eabi_attribute 42, 1
812 ; CORTEX-A12-NOFPU: .eabi_attribute 44, 2
813 ; CORTEX-A12-NOFPU: .eabi_attribute 68, 3
814 ; CORTEX-A12-NOFPU-NOT: .eabi_attribute 19
815 ;; We default to IEEE 754 compliance
816 ; CORTEX-A12-NOFPU: .eabi_attribute 20, 1
817 ; CORTEX-A12-NOFPU: .eabi_attribute 21, 1
818 ; CORTEX-A12-NOFPU-NOT: .eabi_attribute 22
819 ; CORTEX-A12-NOFPU: .eabi_attribute 23, 3
820 ; CORTEX-A12-NOFPU: .eabi_attribute 24, 1
821 ; CORTEX-A12-NOFPU: .eabi_attribute 25, 1
823 ; CORTEX-A12-NOFPU-FAST-NOT: .eabi_attribute 19
824 ;; Despite there being no FPU, we chose to flush to zero preserving
825 ;; sign. This matches what the hardware would do for this architecture
827 ; CORTEX-A12-NOFPU-FAST: .eabi_attribute 20, 2
828 ; CORTEX-A12-NOFPU-FAST-NOT: .eabi_attribute 21
829 ; CORTEX-A12-NOFPU-FAST-NOT: .eabi_attribute 22
830 ; CORTEX-A12-NOFPU-FAST: .eabi_attribute 23, 1
832 ; CORTEX-A15: .cpu cortex-a15
833 ; CORTEX-A15: .eabi_attribute 6, 10
834 ; CORTEX-A15: .eabi_attribute 7, 65
835 ; CORTEX-A15: .eabi_attribute 8, 1
836 ; CORTEX-A15: .eabi_attribute 9, 2
837 ; CORTEX-A15: .fpu neon-vfpv4
838 ; CORTEX-A15-NOT: .eabi_attribute 27
839 ; CORTEX-A15: .eabi_attribute 36, 1
840 ; CORTEX-A15: .eabi_attribute 42, 1
841 ; CORTEX-A15: .eabi_attribute 44, 2
842 ; CORTEX-A15: .eabi_attribute 68, 3
843 ; CORTEX-A15-NOT: .eabi_attribute 19
844 ;; We default to IEEE 754 compliance
845 ; CORTEX-A15: .eabi_attribute 20, 1
846 ; CORTEX-A15: .eabi_attribute 21, 1
847 ; CORTEX-A15-NOT: .eabi_attribute 22
848 ; CORTEX-A15: .eabi_attribute 23, 3
849 ; CORTEX-A15: .eabi_attribute 24, 1
850 ; CORTEX-A15: .eabi_attribute 25, 1
851 ; CORTEX-A15-NOT: .eabi_attribute 28
852 ; CORTEX-A15: .eabi_attribute 38, 1
854 ; CORTEX-A15-FAST-NOT: .eabi_attribute 19
855 ;; The A15 defaults to a VFPv3 FPU, so it flushes preserving the sign when
856 ;; -ffast-math is specified.
857 ; CORTEX-A15-FAST: .eabi_attribute 20, 2
858 ; CORTEX-A15-FAST-NOT: .eabi_attribute 21
859 ; CORTEX-A15-FAST-NOT: .eabi_attribute 22
860 ; CORTEX-A15-FAST: .eabi_attribute 23, 1
862 ; CORTEX-A17-DEFAULT: .cpu cortex-a17
863 ; CORTEX-A17-DEFAULT: .eabi_attribute 6, 10
864 ; CORTEX-A17-DEFAULT: .eabi_attribute 7, 65
865 ; CORTEX-A17-DEFAULT: .eabi_attribute 8, 1
866 ; CORTEX-A17-DEFAULT: .eabi_attribute 9, 2
867 ; CORTEX-A17-DEFAULT: .fpu neon-vfpv4
868 ; CORTEX-A17-DEFAULT: .eabi_attribute 42, 1
869 ; CORTEX-A17-DEFAULT: .eabi_attribute 44, 2
870 ; CORTEX-A17-DEFAULT: .eabi_attribute 68, 3
871 ; CORTEX-A17-DEFAULT-NOT: .eabi_attribute 19
872 ;; We default to IEEE 754 compliance
873 ; CORTEX-A17-DEFAULT: .eabi_attribute 20, 1
874 ; CORTEX-A17-DEFAULT: .eabi_attribute 21, 1
875 ; CORTEX-A17-DEFAULT-NOT: .eabi_attribute 22
876 ; CORTEX-A17-DEFAULT: .eabi_attribute 23, 3
877 ; CORTEX-A17-DEFAULT: .eabi_attribute 24, 1
878 ; CORTEX-A17-DEFAULT: .eabi_attribute 25, 1
880 ; CORTEX-A17-FAST-NOT: .eabi_attribute 19
881 ;; The A17 defaults to a VFPv3 FPU, so it flushes preserving the sign when
882 ;; -ffast-math is specified.
883 ; CORTEX-A17-FAST: .eabi_attribute 20, 2
884 ; CORTEX-A17-FAST-NOT: .eabi_attribute 21
885 ; CORTEX-A17-FAST-NOT: .eabi_attribute 22
886 ; CORTEX-A17-FAST: .eabi_attribute 23, 1
888 ; CORTEX-A17-NOFPU: .cpu cortex-a17
889 ; CORTEX-A17-NOFPU: .eabi_attribute 6, 10
890 ; CORTEX-A17-NOFPU: .eabi_attribute 7, 65
891 ; CORTEX-A17-NOFPU: .eabi_attribute 8, 1
892 ; CORTEX-A17-NOFPU: .eabi_attribute 9, 2
893 ; CORTEX-A17-NOFPU-NOT: .fpu
894 ; CORTEX-A17-NOFPU: .eabi_attribute 42, 1
895 ; CORTEX-A17-NOFPU: .eabi_attribute 44, 2
896 ; CORTEX-A17-NOFPU: .eabi_attribute 68, 3
897 ; CORTEX-A17-NOFPU-NOT: .eabi_attribute 19
898 ;; We default to IEEE 754 compliance
899 ; CORTEX-A17-NOFPU: .eabi_attribute 20, 1
900 ; CORTEX-A17-NOFPU: .eabi_attribute 21, 1
901 ; CORTEX-A17-NOFPU-NOT: .eabi_attribute 22
902 ; CORTEX-A17-NOFPU: .eabi_attribute 23, 3
903 ; CORTEX-A17-NOFPU: .eabi_attribute 24, 1
904 ; CORTEX-A17-NOFPU: .eabi_attribute 25, 1
906 ; CORTEX-A17-NOFPU-NOT: .eabi_attribute 19
907 ;; Despite there being no FPU, we chose to flush to zero preserving
908 ;; sign. This matches what the hardware would do for this architecture
910 ; CORTEX-A17-NOFPU-FAST: .eabi_attribute 20, 2
911 ; CORTEX-A17-NOFPU-FAST-NOT: .eabi_attribute 21
912 ; CORTEX-A17-NOFPU-FAST-NOT: .eabi_attribute 22
913 ; CORTEX-A17-NOFPU-FAST: .eabi_attribute 23, 1
915 ; Test flags -enable-no-trapping-fp-math and -denormal-fp-math:
916 ; NO-TRAPPING-MATH: .eabi_attribute 21, 0
917 ; DENORMAL-IEEE: .eabi_attribute 20, 1
918 ; DENORMAL-PRESERVE-SIGN: .eabi_attribute 20, 2
919 ; DENORMAL-POSITIVE-ZERO: .eabi_attribute 20, 0
921 ; CORTEX-M0: .cpu cortex-m0
922 ; CORTEX-M0: .eabi_attribute 6, 12
923 ; CORTEX-M0: .eabi_attribute 7, 77
924 ; CORTEX-M0: .eabi_attribute 8, 0
925 ; CORTEX-M0: .eabi_attribute 9, 1
926 ; CORTEX-M0-NOT: .eabi_attribute 27
927 ; CORTEX-M0-NOT: .eabi_attribute 36
928 ; CORTEX-M0: .eabi_attribute 34, 0
929 ; CORTEX-M0-NOT: .eabi_attribute 42
930 ; CORTEX-M0-NOT: .eabi_attribute 44
931 ; CORTEX-M0-NOT: .eabi_attribute 68
932 ; CORTEX-M0-NOT: .eabi_attribute 19
933 ;; We default to IEEE 754 compliance
934 ; CORTEX-M0: .eabi_attribute 20, 1
935 ; CORTEX-M0: .eabi_attribute 21, 1
936 ; CORTEX-M0-NOT: .eabi_attribute 22
937 ; CORTEX-M0: .eabi_attribute 23, 3
938 ; CORTEX-M0: .eabi_attribute 24, 1
939 ; CORTEX-M0: .eabi_attribute 25, 1
940 ; CORTEX-M0-NOT: .eabi_attribute 28
941 ; CORTEX-M0: .eabi_attribute 38, 1
943 ; CORTEX-M0-FAST-NOT: .eabi_attribute 19
944 ;; Despite the M0 CPU having no FPU in this scenario, we chose to
945 ;; flush to positive zero here. There's no hardware support doing
946 ;; this, but the fast maths software library might and such behaviour
947 ;; would match hardware support on this architecture revision if it
949 ; CORTEX-M0-FAST-NOT: .eabi_attribute 20
950 ; CORTEX-M0-FAST-NOT: .eabi_attribute 21
951 ; CORTEX-M0-FAST-NOT: .eabi_attribute 22
952 ; CORTEX-M0-FAST: .eabi_attribute 23, 1
954 ; CORTEX-M0PLUS: .cpu cortex-m0plus
955 ; CORTEX-M0PLUS: .eabi_attribute 6, 12
956 ; CORTEX-M0PLUS: .eabi_attribute 7, 77
957 ; CORTEX-M0PLUS: .eabi_attribute 8, 0
958 ; CORTEX-M0PLUS: .eabi_attribute 9, 1
959 ; CORTEX-M0PLUS-NOT: .eabi_attribute 27
960 ; CORTEX-M0PLUS-NOT: .eabi_attribute 36
961 ; CORTEX-M0PLUS-NOT: .eabi_attribute 42
962 ; CORTEX-M0PLUS-NOT: .eabi_attribute 44
963 ; CORTEX-M0PLUS-NOT: .eabi_attribute 68
964 ; CORTEX-M0PLUS-NOT: .eabi_attribute 19
965 ;; We default to IEEE 754 compliance
966 ; CORTEX-M0PLUS: .eabi_attribute 20, 1
967 ; CORTEX-M0PLUS: .eabi_attribute 21, 1
968 ; CORTEX-M0PLUS-NOT: .eabi_attribute 22
969 ; CORTEX-M0PLUS: .eabi_attribute 23, 3
970 ; CORTEX-M0PLUS: .eabi_attribute 24, 1
971 ; CORTEX-M0PLUS: .eabi_attribute 25, 1
972 ; CORTEX-M0PLUS-NOT: .eabi_attribute 28
973 ; CORTEX-M0PLUS: .eabi_attribute 38, 1
975 ; CORTEX-M0PLUS-FAST-NOT: .eabi_attribute 19
976 ;; Despite the M0+ CPU having no FPU in this scenario, we chose to
977 ;; flush to positive zero here. There's no hardware support doing
978 ;; this, but the fast maths software library might and such behaviour
979 ;; would match hardware support on this architecture revision if it
981 ; CORTEX-M0PLUS-FAST-NOT: .eabi_attribute 20
982 ; CORTEX-M0PLUS-FAST-NOT: .eabi_attribute 21
983 ; CORTEX-M0PLUS-FAST-NOT: .eabi_attribute 22
984 ; CORTEX-M0PLUS-FAST: .eabi_attribute 23, 1
986 ; CORTEX-M1: .cpu cortex-m1
987 ; CORTEX-M1: .eabi_attribute 6, 12
988 ; CORTEX-M1: .eabi_attribute 7, 77
989 ; CORTEX-M1: .eabi_attribute 8, 0
990 ; CORTEX-M1: .eabi_attribute 9, 1
991 ; CORTEX-M1-NOT: .eabi_attribute 27
992 ; CORTEX-M1-NOT: .eabi_attribute 36
993 ; CORTEX-M1-NOT: .eabi_attribute 42
994 ; CORTEX-M1-NOT: .eabi_attribute 44
995 ; CORTEX-M1-NOT: .eabi_attribute 68
996 ; CORTEX-M1-NOT: .eabi_attribute 19
997 ;; We default to IEEE 754 compliance
998 ; CORTEX-M1: .eabi_attribute 20, 1
999 ; CORTEX-M1: .eabi_attribute 21, 1
1000 ; CORTEX-M1-NOT: .eabi_attribute 22
1001 ; CORTEX-M1: .eabi_attribute 23, 3
1002 ; CORTEX-M1: .eabi_attribute 24, 1
1003 ; CORTEX-M1: .eabi_attribute 25, 1
1004 ; CORTEX-M1-NOT: .eabi_attribute 28
1005 ; CORTEX-M1: .eabi_attribute 38, 1
1007 ; CORTEX-M1-FAST-NOT: .eabi_attribute 19
1008 ;; Despite the M1 CPU having no FPU in this scenario, we chose to
1009 ;; flush to positive zero here. There's no hardware support doing
1010 ;; this, but the fast maths software library might and such behaviour
1011 ;; would match hardware support on this architecture revision if it
1013 ; CORTEX-M1-FAST-NOT: .eabi_attribute 20
1014 ; CORTEX-M1-FAST-NOT: .eabi_attribute 21
1015 ; CORTEX-M1-FAST-NOT: .eabi_attribute 22
1016 ; CORTEX-M1-FAST: .eabi_attribute 23, 1
1019 ; SC000: .eabi_attribute 6, 12
1020 ; SC000: .eabi_attribute 7, 77
1021 ; SC000: .eabi_attribute 8, 0
1022 ; SC000: .eabi_attribute 9, 1
1023 ; SC000-NOT: .eabi_attribute 27
1024 ; SC000-NOT: .eabi_attribute 42
1025 ; SC000-NOT: .eabi_attribute 44
1026 ; SC000-NOT: .eabi_attribute 68
1027 ; SC000-NOT: .eabi_attribute 19
1028 ;; We default to IEEE 754 compliance
1029 ; SC000: .eabi_attribute 20, 1
1030 ; SC000: .eabi_attribute 21, 1
1031 ; SC000-NOT: .eabi_attribute 22
1032 ; SC000: .eabi_attribute 23, 3
1033 ; SC000: .eabi_attribute 24, 1
1034 ; SC000: .eabi_attribute 25, 1
1035 ; SC000-NOT: .eabi_attribute 28
1036 ; SC000: .eabi_attribute 38, 1
1038 ; SC000-FAST-NOT: .eabi_attribute 19
1039 ;; Despite the SC000 CPU having no FPU in this scenario, we chose to
1040 ;; flush to positive zero here. There's no hardware support doing
1041 ;; this, but the fast maths software library might and such behaviour
1042 ;; would match hardware support on this architecture revision if it
1044 ; SC000-FAST-NOT: .eabi_attribute 20
1045 ; SC000-FAST-NOT: .eabi_attribute 21
1046 ; SC000-FAST-NOT: .eabi_attribute 22
1047 ; SC000-FAST: .eabi_attribute 23, 1
1049 ; CORTEX-M3: .cpu cortex-m3
1050 ; CORTEX-M3: .eabi_attribute 6, 10
1051 ; CORTEX-M3: .eabi_attribute 7, 77
1052 ; CORTEX-M3: .eabi_attribute 8, 0
1053 ; CORTEX-M3: .eabi_attribute 9, 2
1054 ; CORTEX-M3-NOT: .eabi_attribute 27
1055 ; CORTEX-M3-NOT: .eabi_attribute 36
1056 ; CORTEX-M3-NOT: .eabi_attribute 42
1057 ; CORTEX-M3-NOT: .eabi_attribute 44
1058 ; CORTEX-M3-NOT: .eabi_attribute 68
1059 ; CORTEX-M3-NOT: .eabi_attribute 19
1060 ;; We default to IEEE 754 compliance
1061 ; CORTEX-M3: .eabi_attribute 20, 1
1062 ; CORTEX-M3: .eabi_attribute 21, 1
1063 ; CORTEX-M3-NOT: .eabi_attribute 22
1064 ; CORTEX-M3: .eabi_attribute 23, 3
1065 ; CORTEX-M3: .eabi_attribute 24, 1
1066 ; CORTEX-M3: .eabi_attribute 25, 1
1067 ; CORTEX-M3-NOT: .eabi_attribute 28
1068 ; CORTEX-M3: .eabi_attribute 38, 1
1070 ; CORTEX-M3-FAST-NOT: .eabi_attribute 19
1071 ;; Despite there being no FPU, we chose to flush to zero preserving
1072 ;; sign. This matches what the hardware would do for this architecture
1074 ; CORTEX-M3-FAST: .eabi_attribute 20, 2
1075 ; CORTEX-M3-FAST-NOT: .eabi_attribute 21
1076 ; CORTEX-M3-FAST-NOT: .eabi_attribute 22
1077 ; CORTEX-M3-FAST: .eabi_attribute 23, 1
1080 ; SC300: .eabi_attribute 6, 10
1081 ; SC300: .eabi_attribute 7, 77
1082 ; SC300: .eabi_attribute 8, 0
1083 ; SC300: .eabi_attribute 9, 2
1084 ; SC300-NOT: .eabi_attribute 27
1085 ; SC300-NOT: .eabi_attribute 36
1086 ; SC300-NOT: .eabi_attribute 42
1087 ; SC300-NOT: .eabi_attribute 44
1088 ; SC300-NOT: .eabi_attribute 68
1089 ; SC300-NOT: .eabi_attribute 19
1090 ;; We default to IEEE 754 compliance
1091 ; SC300: .eabi_attribute 20, 1
1092 ; SC300: .eabi_attribute 21, 1
1093 ; SC300-NOT: .eabi_attribute 22
1094 ; SC300: .eabi_attribute 23, 3
1095 ; SC300: .eabi_attribute 24, 1
1096 ; SC300: .eabi_attribute 25, 1
1097 ; SC300-NOT: .eabi_attribute 28
1098 ; SC300: .eabi_attribute 38, 1
1100 ; SC300-FAST-NOT: .eabi_attribute 19
1101 ;; Despite there being no FPU, we chose to flush to zero preserving
1102 ;; sign. This matches what the hardware would do for this architecture
1104 ; SC300-FAST: .eabi_attribute 20, 2
1105 ; SC300-FAST-NOT: .eabi_attribute 21
1106 ; SC300-FAST-NOT: .eabi_attribute 22
1107 ; SC300-FAST: .eabi_attribute 23, 1
1109 ; CORTEX-M4-SOFT: .cpu cortex-m4
1110 ; CORTEX-M4-SOFT: .eabi_attribute 6, 13
1111 ; CORTEX-M4-SOFT: .eabi_attribute 7, 77
1112 ; CORTEX-M4-SOFT: .eabi_attribute 8, 0
1113 ; CORTEX-M4-SOFT: .eabi_attribute 9, 2
1114 ; CORTEX-M4-SOFT: .fpu fpv4-sp-d16
1115 ; CORTEX-M4-SOFT: .eabi_attribute 27, 1
1116 ; CORTEX-M4-SOFT: .eabi_attribute 36, 1
1117 ; CORTEX-M4-SOFT-NOT: .eabi_attribute 42
1118 ; CORTEX-M4-SOFT-NOT: .eabi_attribute 44
1119 ; CORTEX-M4-SOFT-NOT: .eabi_attribute 68
1120 ; CORTEX-M4-SOFT-NOT: .eabi_attribute 19
1121 ;; We default to IEEE 754 compliance
1122 ; CORTEX-M4-SOFT: .eabi_attribute 20, 1
1123 ; CORTEX-M4-SOFT: .eabi_attribute 21, 1
1124 ; CORTEX-M4-SOFT-NOT: .eabi_attribute 22
1125 ; CORTEX-M4-SOFT: .eabi_attribute 23, 3
1126 ; CORTEX-M4-SOFT: .eabi_attribute 24, 1
1127 ; CORTEX-M4-SOFT: .eabi_attribute 25, 1
1128 ; CORTEX-M4-SOFT-NOT: .eabi_attribute 28
1129 ; CORTEX-M4-SOFT: .eabi_attribute 38, 1
1131 ; CORTEX-M4-SOFT-FAST-NOT: .eabi_attribute 19
1132 ;; The M4 defaults to a VFPv4 FPU, so it flushes preserving the sign when
1133 ;; -ffast-math is specified.
1134 ; CORTEX-M4-SOFT-FAST: .eabi_attribute 20, 2
1135 ; CORTEX-M4-SOFT-FAST-NOT: .eabi_attribute 21
1136 ; CORTEX-M4-SOFT-FAST-NOT: .eabi_attribute 22
1137 ; CORTEX-M4-SOFT-FAST: .eabi_attribute 23, 1
1139 ; CORTEX-M4-HARD: .cpu cortex-m4
1140 ; CORTEX-M4-HARD: .eabi_attribute 6, 13
1141 ; CORTEX-M4-HARD: .eabi_attribute 7, 77
1142 ; CORTEX-M4-HARD: .eabi_attribute 8, 0
1143 ; CORTEX-M4-HARD: .eabi_attribute 9, 2
1144 ; CORTEX-M4-HARD: .fpu fpv4-sp-d16
1145 ; CORTEX-M4-HARD: .eabi_attribute 27, 1
1146 ; CORTEX-M4-HARD: .eabi_attribute 36, 1
1147 ; CORTEX-M4-HARD-NOT: .eabi_attribute 42
1148 ; CORTEX-M4-HARD-NOT: .eabi_attribute 44
1149 ; CORTEX-M4-HARD-NOT: .eabi_attribute 68
1150 ; CORTEX-M4-HARD-NOT: .eabi_attribute 19
1151 ;; We default to IEEE 754 compliance
1152 ; CORTEX-M4-HARD: .eabi_attribute 20, 1
1153 ; CORTEX-M4-HARD: .eabi_attribute 21, 1
1154 ; CORTEX-M4-HARD-NOT: .eabi_attribute 22
1155 ; CORTEX-M4-HARD: .eabi_attribute 23, 3
1156 ; CORTEX-M4-HARD: .eabi_attribute 24, 1
1157 ; CORTEX-M4-HARD: .eabi_attribute 25, 1
1158 ; CORTEX-M4-HARD: .eabi_attribute 28, 1
1159 ; CORTEX-M4-HARD: .eabi_attribute 38, 1
1161 ; CORTEX-M4-HARD-FAST-NOT: .eabi_attribute 19
1162 ;; The M4 defaults to a VFPv4 FPU, so it flushes preserving the sign when
1163 ;; -ffast-math is specified.
1164 ; CORTEX-M4-HARD-FAST: .eabi_attribute 20, 2
1165 ; CORTEX-M4-HARD-FAST-NOT: .eabi_attribute 21
1166 ; CORTEX-M4-HARD-FAST-NOT: .eabi_attribute 22
1167 ; CORTEX-M4-HARD-FAST: .eabi_attribute 23, 1
1169 ; CORTEX-M7: .cpu cortex-m7
1170 ; CORTEX-M7: .eabi_attribute 6, 13
1171 ; CORTEX-M7: .eabi_attribute 7, 77
1172 ; CORTEX-M7: .eabi_attribute 8, 0
1173 ; CORTEX-M7: .eabi_attribute 9, 2
1174 ; CORTEX-M7-SOFT-NOT: .fpu
1175 ; CORTEX-M7-SINGLE: .fpu fpv5-sp-d16
1176 ; CORTEX-M7-DOUBLE: .fpu fpv5-d16
1177 ; CORTEX-M7-SOFT-NOT: .eabi_attribute 27
1178 ; CORTEX-M7-SINGLE: .eabi_attribute 27, 1
1179 ; CORTEX-M7-DOUBLE-NOT: .eabi_attribute 27
1180 ; CORTEX-M7: .eabi_attribute 36, 1
1181 ; CORTEX-M7-NOT: .eabi_attribute 44
1182 ; CORTEX-M7: .eabi_attribute 17, 1
1183 ; CORTEX-M7-NOT: .eabi_attribute 19
1184 ;; We default to IEEE 754 compliance
1185 ; CORTEX-M7: .eabi_attribute 20, 1
1186 ; CORTEX-M7: .eabi_attribute 21, 1
1187 ; CORTEX-M7-NOT: .eabi_attribute 22
1188 ; CORTEX-M7: .eabi_attribute 23, 3
1189 ; CORTEX-M7: .eabi_attribute 24, 1
1190 ; CORTEX-M7: .eabi_attribute 25, 1
1191 ; CORTEX-M7: .eabi_attribute 38, 1
1192 ; CORTEX-M7: .eabi_attribute 14, 0
1194 ; CORTEX-M7-NOFPU-FAST-NOT: .eabi_attribute 19
1195 ;; The M7 has the ARMv8 FP unit, which always flushes preserving sign.
1196 ; CORTEX-M7-FAST: .eabi_attribute 20, 2
1197 ;; Despite there being no FPU, we chose to flush to zero preserving
1198 ;; sign. This matches what the hardware would do for this architecture
1200 ; CORTEX-M7-NOFPU-FAST: .eabi_attribute 20, 2
1201 ; CORTEX-M7-NOFPU-FAST-NOT: .eabi_attribute 21
1202 ; CORTEX-M7-NOFPU-FAST-NOT: .eabi_attribute 22
1203 ; CORTEX-M7-NOFPU-FAST: .eabi_attribute 23, 1
1205 ; CORTEX-R4: .cpu cortex-r4
1206 ; CORTEX-R4: .eabi_attribute 6, 10
1207 ; CORTEX-R4: .eabi_attribute 7, 82
1208 ; CORTEX-R4: .eabi_attribute 8, 1
1209 ; CORTEX-R4: .eabi_attribute 9, 2
1210 ; CORTEX-R4-NOT: .fpu vfpv3-d16
1211 ; CORTEX-R4-NOT: .eabi_attribute 36
1212 ; CORTEX-R4-NOT: .eabi_attribute 42
1213 ; CORTEX-R4-NOT: .eabi_attribute 44
1214 ; CORTEX-R4-NOT: .eabi_attribute 68
1215 ; CORTEX-R4-NOT: .eabi_attribute 19
1216 ;; We default to IEEE 754 compliance
1217 ; CORTEX-R4: .eabi_attribute 20, 1
1218 ; CORTEX-R4: .eabi_attribute 21, 1
1219 ; CORTEX-R4-NOT: .eabi_attribute 22
1220 ; CORTEX-R4: .eabi_attribute 23, 3
1221 ; CORTEX-R4: .eabi_attribute 24, 1
1222 ; CORTEX-R4: .eabi_attribute 25, 1
1223 ; CORTEX-R4-NOT: .eabi_attribute 28
1224 ; CORTEX-R4: .eabi_attribute 38, 1
1226 ; CORTEX-R4F: .cpu cortex-r4f
1227 ; CORTEX-R4F: .eabi_attribute 6, 10
1228 ; CORTEX-R4F: .eabi_attribute 7, 82
1229 ; CORTEX-R4F: .eabi_attribute 8, 1
1230 ; CORTEX-R4F: .eabi_attribute 9, 2
1231 ; CORTEX-R4F: .fpu vfpv3-d16
1232 ; CORTEX-R4F-NOT: .eabi_attribute 27, 1
1233 ; CORTEX-R4F-NOT: .eabi_attribute 36
1234 ; CORTEX-R4F-NOT: .eabi_attribute 42
1235 ; CORTEX-R4F-NOT: .eabi_attribute 44
1236 ; CORTEX-R4F-NOT: .eabi_attribute 68
1237 ; CORTEX-R4F-NOT: .eabi_attribute 19
1238 ;; We default to IEEE 754 compliance
1239 ; CORTEX-R4F: .eabi_attribute 20, 1
1240 ; CORTEX-R4F: .eabi_attribute 21, 1
1241 ; CORTEX-R4F-NOT: .eabi_attribute 22
1242 ; CORTEX-R4F: .eabi_attribute 23, 3
1243 ; CORTEX-R4F: .eabi_attribute 24, 1
1244 ; CORTEX-R4F: .eabi_attribute 25, 1
1245 ; CORTEX-R4F-NOT: .eabi_attribute 28
1246 ; CORTEX-R4F: .eabi_attribute 38, 1
1248 ; CORTEX-R5: .cpu cortex-r5
1249 ; CORTEX-R5: .eabi_attribute 6, 10
1250 ; CORTEX-R5: .eabi_attribute 7, 82
1251 ; CORTEX-R5: .eabi_attribute 8, 1
1252 ; CORTEX-R5: .eabi_attribute 9, 2
1253 ; CORTEX-R5: .fpu vfpv3-d16
1254 ; CORTEX-R5-NOT: .eabi_attribute 27, 1
1255 ; CORTEX-R5-NOT: .eabi_attribute 36
1256 ; CORTEX-R5: .eabi_attribute 44, 2
1257 ; CORTEX-R5-NOT: .eabi_attribute 42
1258 ; CORTEX-R5-NOT: .eabi_attribute 68
1259 ; CORTEX-R5-NOT: .eabi_attribute 19
1260 ;; We default to IEEE 754 compliance
1261 ; CORTEX-R5: .eabi_attribute 20, 1
1262 ; CORTEX-R5: .eabi_attribute 21, 1
1263 ; CORTEX-R5-NOT: .eabi_attribute 22
1264 ; CORTEX-R5: .eabi_attribute 23, 3
1265 ; CORTEX-R5: .eabi_attribute 24, 1
1266 ; CORTEX-R5: .eabi_attribute 25, 1
1267 ; CORTEX-R5-NOT: .eabi_attribute 28
1268 ; CORTEX-R5: .eabi_attribute 38, 1
1270 ; CORTEX-R5-FAST-NOT: .eabi_attribute 19
1271 ;; The R5 has the VFPv3 FP unit, which always flushes preserving sign.
1272 ; CORTEX-R5-FAST: .eabi_attribute 20, 2
1273 ; CORTEX-R5-FAST-NOT: .eabi_attribute 21
1274 ; CORTEX-R5-FAST-NOT: .eabi_attribute 22
1275 ; CORTEX-R5-FAST: .eabi_attribute 23, 1
1277 ; CORTEX-R7: .cpu cortex-r7
1278 ; CORTEX-R7: .eabi_attribute 6, 10
1279 ; CORTEX-R7: .eabi_attribute 7, 82
1280 ; CORTEX-R7: .eabi_attribute 8, 1
1281 ; CORTEX-R7: .eabi_attribute 9, 2
1282 ; CORTEX-R7: .fpu vfpv3-d16-fp16
1283 ; CORTEX-R7: .eabi_attribute 36, 1
1284 ; CORTEX-R7: .eabi_attribute 42, 1
1285 ; CORTEX-R7: .eabi_attribute 44, 2
1286 ; CORTEX-R7-NOT: .eabi_attribute 68
1287 ; CORTEX-R7-NOT: .eabi_attribute 19
1288 ;; We default to IEEE 754 compliance
1289 ; CORTEX-R7: .eabi_attribute 20, 1
1290 ; CORTEX-R7: .eabi_attribute 21, 1
1291 ; CORTEX-R7-NOT: .eabi_attribute 22
1292 ; CORTEX-R7: .eabi_attribute 23, 3
1293 ; CORTEX-R7: .eabi_attribute 24, 1
1294 ; CORTEX-R7: .eabi_attribute 25, 1
1295 ; CORTEX-R7-NOT: .eabi_attribute 28
1296 ; CORTEX-R7: .eabi_attribute 38, 1
1298 ; CORTEX-R7-FAST-NOT: .eabi_attribute 19
1299 ;; The R7 has the VFPv3 FP unit, which always flushes preserving sign.
1300 ; CORTEX-R7-FAST: .eabi_attribute 20, 2
1301 ; CORTEX-R7-FAST-NOT: .eabi_attribute 21
1302 ; CORTEX-R7-FAST-NOT: .eabi_attribute 22
1303 ; CORTEX-R7-FAST: .eabi_attribute 23, 1
1305 ; CORTEX-R8: .cpu cortex-r8
1306 ; CORTEX-R8: .eabi_attribute 6, 10
1307 ; CORTEX-R8: .eabi_attribute 7, 82
1308 ; CORTEX-R8: .eabi_attribute 8, 1
1309 ; CORTEX-R8: .eabi_attribute 9, 2
1310 ; CORTEX-R8: .fpu vfpv3-d16-fp16
1311 ; CORTEX-R8: .eabi_attribute 36, 1
1312 ; CORTEX-R8: .eabi_attribute 42, 1
1313 ; CORTEX-R8: .eabi_attribute 44, 2
1314 ; CORTEX-R8-NOT: .eabi_attribute 68
1315 ; CORTEX-R8-NOT: .eabi_attribute 19
1316 ;; We default to IEEE 754 compliance
1317 ; CORTEX-R8: .eabi_attribute 20, 1
1318 ; CORTEX-R8: .eabi_attribute 21, 1
1319 ; CORTEX-R8-NOT: .eabi_attribute 22
1320 ; CORTEX-R8: .eabi_attribute 23, 3
1321 ; CORTEX-R8: .eabi_attribute 24, 1
1322 ; CORTEX-R8: .eabi_attribute 25, 1
1323 ; CORTEX-R8-NOT: .eabi_attribute 28
1324 ; CORTEX-R8: .eabi_attribute 38, 1
1326 ; CORTEX-R8-FAST-NOT: .eabi_attribute 19
1327 ;; The R8 has the VFPv3 FP unit, which always flushes preserving sign.
1328 ; CORTEX-R8-FAST: .eabi_attribute 20, 2
1329 ; CORTEX-R8-FAST-NOT: .eabi_attribute 21
1330 ; CORTEX-R8-FAST-NOT: .eabi_attribute 22
1331 ; CORTEX-R8-FAST: .eabi_attribute 23, 1
1333 ; CORTEX-A32: .cpu cortex-a32
1334 ; CORTEX-A32: .eabi_attribute 6, 14
1335 ; CORTEX-A32: .eabi_attribute 7, 65
1336 ; CORTEX-A32: .eabi_attribute 8, 1
1337 ; CORTEX-A32: .eabi_attribute 9, 2
1338 ; CORTEX-A32: .fpu crypto-neon-fp-armv8
1339 ; CORTEX-A32: .eabi_attribute 12, 3
1340 ; CORTEX-A32-NOT: .eabi_attribute 27
1341 ; CORTEX-A32: .eabi_attribute 36, 1
1342 ; CORTEX-A32: .eabi_attribute 42, 1
1343 ; CORTEX-A32-NOT: .eabi_attribute 44
1344 ; CORTEX-A32: .eabi_attribute 68, 3
1345 ; CORTEX-A32-NOT: .eabi_attribute 19
1346 ;; We default to IEEE 754 compliance
1347 ; CORTEX-A32: .eabi_attribute 20, 1
1348 ; CORTEX-A32: .eabi_attribute 21, 1
1349 ; CORTEX-A32-NOT: .eabi_attribute 22
1350 ; CORTEX-A32: .eabi_attribute 23, 3
1351 ; CORTEX-A32: .eabi_attribute 24, 1
1352 ; CORTEX-A32: .eabi_attribute 25, 1
1353 ; CORTEX-A32-NOT: .eabi_attribute 28
1354 ; CORTEX-A32: .eabi_attribute 38, 1
1356 ; CORTEX-A32-FAST-NOT: .eabi_attribute 19
1357 ;; The A32 has the ARMv8 FP unit, which always flushes preserving sign.
1358 ; CORTEX-A32-FAST: .eabi_attribute 20, 2
1359 ; CORTEX-A32-FAST-NOT: .eabi_attribute 21
1360 ; CORTEX-A32-FAST-NOT: .eabi_attribute 22
1361 ; CORTEX-A32-FAST: .eabi_attribute 23, 1
1363 ; CORTEX-M23: .cpu cortex-m23
1364 ; CORTEX-M23: .eabi_attribute 6, 16
1365 ; CORTEX-M23: .eabi_attribute 7, 77
1366 ; CORTEX-M23: .eabi_attribute 8, 0
1367 ; CORTEX-M23: .eabi_attribute 9, 3
1368 ; CORTEX-M23-NOT: .eabi_attribute 27
1369 ; CORTEX-M23: .eabi_attribute 34, 0
1370 ; CORTEX-M23-NOT: .eabi_attribute 44
1371 ; CORTEX-M23: .eabi_attribute 17, 1
1372 ;; We default to IEEE 754 compliance
1373 ; CORTEX-M23-NOT: .eabi_attribute 19
1374 ; CORTEX-M23: .eabi_attribute 20, 1
1375 ; CORTEX-M23: .eabi_attribute 21, 1
1376 ; CORTEX-M23: .eabi_attribute 23, 3
1377 ; CORTEX-M23: .eabi_attribute 24, 1
1378 ; CORTEX-M23-NOT: .eabi_attribute 28
1379 ; CORTEX-M23: .eabi_attribute 25, 1
1380 ; CORTEX-M23: .eabi_attribute 38, 1
1381 ; CORTEX-M23: .eabi_attribute 14, 0
1383 ; CORTEX-M33: .cpu cortex-m33
1384 ; CORTEX-M33: .eabi_attribute 6, 17
1385 ; CORTEX-M33: .eabi_attribute 7, 77
1386 ; CORTEX-M33: .eabi_attribute 8, 0
1387 ; CORTEX-M33: .eabi_attribute 9, 3
1388 ; CORTEX-M33: .fpu fpv5-sp-d16
1389 ; CORTEX-M33: .eabi_attribute 27, 1
1390 ; CORTEX-M33: .eabi_attribute 36, 1
1391 ; CORTEX-M33-NOT: .eabi_attribute 44
1392 ; CORTEX-M33: .eabi_attribute 46, 1
1393 ; CORTEX-M33: .eabi_attribute 34, 1
1394 ; CORTEX-M33: .eabi_attribute 17, 1
1395 ;; We default to IEEE 754 compliance
1396 ; CORTEX-M23-NOT: .eabi_attribute 19
1397 ; CORTEX-M33: .eabi_attribute 20, 1
1398 ; CORTEX-M33: .eabi_attribute 21, 1
1399 ; CORTEX-M33: .eabi_attribute 23, 3
1400 ; CORTEX-M33: .eabi_attribute 24, 1
1401 ; CORTEX-M33: .eabi_attribute 25, 1
1402 ; CORTEX-M33-NOT: .eabi_attribute 28
1403 ; CORTEX-M33: .eabi_attribute 38, 1
1404 ; CORTEX-M33: .eabi_attribute 14, 0
1406 ; CORTEX-M35P: .cpu cortex-m35p
1407 ; CORTEX-M35P: .eabi_attribute 6, 17
1408 ; CORTEX-M35P: .eabi_attribute 7, 77
1409 ; CORTEX-M35P: .eabi_attribute 8, 0
1410 ; CORTEX-M35P: .eabi_attribute 9, 3
1411 ; CORTEX-M35P: .fpu fpv5-sp-d16
1412 ; CORTEX-M35P: .eabi_attribute 27, 1
1413 ; CORTEX-M35P: .eabi_attribute 36, 1
1414 ; CORTEX-M35P-NOT: .eabi_attribute 44
1415 ; CORTEX-M35P: .eabi_attribute 46, 1
1416 ; CORTEX-M35P: .eabi_attribute 34, 1
1417 ; CORTEX-M35P: .eabi_attribute 17, 1
1418 ; CORTEX-M35P: .eabi_attribute 20, 1
1419 ; CORTEX-M35P: .eabi_attribute 21, 1
1420 ; CORTEX-M35P: .eabi_attribute 23, 3
1421 ; CORTEX-M35P: .eabi_attribute 24, 1
1422 ; CORTEX-M35P: .eabi_attribute 25, 1
1423 ; CORTEX-M35P-NOT: .eabi_attribute 28
1424 ; CORTEX-M35P: .eabi_attribute 38, 1
1425 ; CORTEX-M35P: .eabi_attribute 14, 0
1427 ; CORTEX-M33-FAST-NOT: .eabi_attribute 19
1428 ; CORTEX-M33-FAST: .eabi_attribute 20, 2
1429 ; CORTEX-M33-FAST-NOT: .eabi_attribute 21
1430 ; CORTEX-M33-FAST-NOT: .eabi_attribute 22
1431 ; CORTEX-M33-FAST: .eabi_attribute 23, 1
1433 ; CORTEX-A35: .cpu cortex-a35
1434 ; CORTEX-A35: .eabi_attribute 6, 14
1435 ; CORTEX-A35: .eabi_attribute 7, 65
1436 ; CORTEX-A35: .eabi_attribute 8, 1
1437 ; CORTEX-A35: .eabi_attribute 9, 2
1438 ; CORTEX-A35: .fpu crypto-neon-fp-armv8
1439 ; CORTEX-A35: .eabi_attribute 12, 3
1440 ; CORTEX-A35-NOT: .eabi_attribute 27
1441 ; CORTEX-A35: .eabi_attribute 36, 1
1442 ; CORTEX-A35: .eabi_attribute 42, 1
1443 ; CORTEX-A35-NOT: .eabi_attribute 44
1444 ; CORTEX-A35: .eabi_attribute 68, 3
1445 ; CORTEX-A35-NOT: .eabi_attribute 19
1446 ;; We default to IEEE 754 compliance
1447 ; CORTEX-A35: .eabi_attribute 20, 1
1448 ; CORTEX-A35: .eabi_attribute 21, 1
1449 ; CORTEX-A35-NOT: .eabi_attribute 22
1450 ; CORTEX-A35: .eabi_attribute 23, 3
1451 ; CORTEX-A35: .eabi_attribute 24, 1
1452 ; CORTEX-A35: .eabi_attribute 25, 1
1453 ; CORTEX-A35-NOT: .eabi_attribute 28
1454 ; CORTEX-A35: .eabi_attribute 38, 1
1456 ; CORTEX-A35-FAST-NOT: .eabi_attribute 19
1457 ;; The A35 has the ARMv8 FP unit, which always flushes preserving sign.
1458 ; CORTEX-A35-FAST: .eabi_attribute 20, 2
1459 ; CORTEX-A35-FAST-NOT: .eabi_attribute 21
1460 ; CORTEX-A35-FAST-NOT: .eabi_attribute 22
1461 ; CORTEX-A35-FAST: .eabi_attribute 23, 1
1463 ; CORTEX-A53: .cpu cortex-a53
1464 ; CORTEX-A53: .eabi_attribute 6, 14
1465 ; CORTEX-A53: .eabi_attribute 7, 65
1466 ; CORTEX-A53: .eabi_attribute 8, 1
1467 ; CORTEX-A53: .eabi_attribute 9, 2
1468 ; CORTEX-A53: .fpu crypto-neon-fp-armv8
1469 ; CORTEX-A53: .eabi_attribute 12, 3
1470 ; CORTEX-A53-NOT: .eabi_attribute 27
1471 ; CORTEX-A53: .eabi_attribute 36, 1
1472 ; CORTEX-A53: .eabi_attribute 42, 1
1473 ; CORTEX-A53-NOT: .eabi_attribute 44
1474 ; CORTEX-A53: .eabi_attribute 68, 3
1475 ; CORTEX-A53-NOT: .eabi_attribute 19
1476 ;; We default to IEEE 754 compliance
1477 ; CORTEX-A53: .eabi_attribute 20, 1
1478 ; CORTEX-A53: .eabi_attribute 21, 1
1479 ; CORTEX-A53-NOT: .eabi_attribute 22
1480 ; CORTEX-A53: .eabi_attribute 23, 3
1481 ; CORTEX-A53: .eabi_attribute 24, 1
1482 ; CORTEX-A53: .eabi_attribute 25, 1
1483 ; CORTEX-A53-NOT: .eabi_attribute 28
1484 ; CORTEX-A53: .eabi_attribute 38, 1
1486 ; CORTEX-A53-FAST-NOT: .eabi_attribute 19
1487 ;; The A53 has the ARMv8 FP unit, which always flushes preserving sign.
1488 ; CORTEX-A53-FAST: .eabi_attribute 20, 2
1489 ; CORTEX-A53-FAST-NOT: .eabi_attribute 21
1490 ; CORTEX-A53-FAST-NOT: .eabi_attribute 22
1491 ; CORTEX-A53-FAST: .eabi_attribute 23, 1
1493 ; CORTEX-A57: .cpu cortex-a57
1494 ; CORTEX-A57: .eabi_attribute 6, 14
1495 ; CORTEX-A57: .eabi_attribute 7, 65
1496 ; CORTEX-A57: .eabi_attribute 8, 1
1497 ; CORTEX-A57: .eabi_attribute 9, 2
1498 ; CORTEX-A57: .fpu crypto-neon-fp-armv8
1499 ; CORTEX-A57: .eabi_attribute 12, 3
1500 ; CORTEX-A57-NOT: .eabi_attribute 27
1501 ; CORTEX-A57: .eabi_attribute 36, 1
1502 ; CORTEX-A57: .eabi_attribute 42, 1
1503 ; CORTEX-A57-NOT: .eabi_attribute 44
1504 ; CORTEX-A57: .eabi_attribute 68, 3
1505 ; CORTEX-A57-NOT: .eabi_attribute 19
1506 ;; We default to IEEE 754 compliance
1507 ; CORTEX-A57: .eabi_attribute 20, 1
1508 ; CORTEX-A57: .eabi_attribute 21, 1
1509 ; CORTEX-A57-NOT: .eabi_attribute 22
1510 ; CORTEX-A57: .eabi_attribute 23, 3
1511 ; CORTEX-A57: .eabi_attribute 24, 1
1512 ; CORTEX-A57: .eabi_attribute 25, 1
1513 ; CORTEX-A57-NOT: .eabi_attribute 28
1514 ; CORTEX-A57: .eabi_attribute 38, 1
1516 ; CORTEX-A57-FAST-NOT: .eabi_attribute 19
1517 ;; The A57 has the ARMv8 FP unit, which always flushes preserving sign.
1518 ; CORTEX-A57-FAST: .eabi_attribute 20, 2
1519 ; CORTEX-A57-FAST-NOT: .eabi_attribute 21
1520 ; CORTEX-A57-FAST-NOT: .eabi_attribute 22
1521 ; CORTEX-A57-FAST: .eabi_attribute 23, 1
1523 ; CORTEX-A72: .cpu cortex-a72
1524 ; CORTEX-A72: .eabi_attribute 6, 14
1525 ; CORTEX-A72: .eabi_attribute 7, 65
1526 ; CORTEX-A72: .eabi_attribute 8, 1
1527 ; CORTEX-A72: .eabi_attribute 9, 2
1528 ; CORTEX-A72: .fpu crypto-neon-fp-armv8
1529 ; CORTEX-A72: .eabi_attribute 12, 3
1530 ; CORTEX-A72-NOT: .eabi_attribute 27
1531 ; CORTEX-A72: .eabi_attribute 36, 1
1532 ; CORTEX-A72: .eabi_attribute 42, 1
1533 ; CORTEX-A72-NOT: .eabi_attribute 44
1534 ; CORTEX-A72: .eabi_attribute 68, 3
1535 ; CORTEX-A72-NOT: .eabi_attribute 19
1536 ;; We default to IEEE 754 compliance
1537 ; CORTEX-A72: .eabi_attribute 20, 1
1538 ; CORTEX-A72: .eabi_attribute 21, 1
1539 ; CORTEX-A72-NOT: .eabi_attribute 22
1540 ; CORTEX-A72: .eabi_attribute 23, 3
1541 ; CORTEX-A72: .eabi_attribute 24, 1
1542 ; CORTEX-A72: .eabi_attribute 25, 1
1543 ; CORTEX-A72-NOT: .eabi_attribute 28
1544 ; CORTEX-A72: .eabi_attribute 38, 1
1546 ; CORTEX-A72-FAST-NOT: .eabi_attribute 19
1547 ;; The A72 has the ARMv8 FP unit, which always flushes preserving sign.
1548 ; CORTEX-A72-FAST: .eabi_attribute 20, 2
1549 ; CORTEX-A72-FAST-NOT: .eabi_attribute 21
1550 ; CORTEX-A72-FAST-NOT: .eabi_attribute 22
1551 ; CORTEX-A72-FAST: .eabi_attribute 23, 1
1553 ; CORTEX-A73: .cpu cortex-a73
1554 ; CORTEX-A73: .eabi_attribute 6, 14
1555 ; CORTEX-A73: .eabi_attribute 7, 65
1556 ; CORTEX-A73: .eabi_attribute 8, 1
1557 ; CORTEX-A73: .eabi_attribute 9, 2
1558 ; CORTEX-A73: .fpu crypto-neon-fp-armv8
1559 ; CORTEX-A73: .eabi_attribute 12, 3
1560 ; CORTEX-A73-NOT: .eabi_attribute 27
1561 ; CORTEX-A73: .eabi_attribute 36, 1
1562 ; CORTEX-A73: .eabi_attribute 42, 1
1563 ; CORTEX-A73-NOT: .eabi_attribute 44
1564 ; CORTEX-A73: .eabi_attribute 68, 3
1565 ; CORTEX-A73-NOT: .eabi_attribute 19
1566 ;; We default to IEEE 754 compliance
1567 ; CORTEX-A73: .eabi_attribute 20, 1
1568 ; CORTEX-A73: .eabi_attribute 21, 1
1569 ; CORTEX-A73-NOT: .eabi_attribute 22
1570 ; CORTEX-A73: .eabi_attribute 23, 3
1571 ; CORTEX-A73: .eabi_attribute 24, 1
1572 ; CORTEX-A73: .eabi_attribute 25, 1
1573 ; CORTEX-A73-NOT: .eabi_attribute 28
1574 ; CORTEX-A73: .eabi_attribute 38, 1
1575 ; CORTEX-A73: .eabi_attribute 14, 0
1577 ; EXYNOS-FAST-NOT: .eabi_attribute 19
1578 ;; The Exynos processors have the ARMv8 FP unit, which always flushes preserving sign.
1579 ; EXYNOS-FAST: .eabi_attribute 20, 2
1580 ; EXYNOS-FAST-NOT: .eabi_attribute 21
1581 ; EXYNOS-FAST-NOT: .eabi_attribute 22
1582 ; EXYNOS-FAST: .eabi_attribute 23, 1
1584 ; EXYNOS-M3: .cpu exynos-m3
1585 ; EXYNOS-M3: .eabi_attribute 6, 14
1586 ; EXYNOS-M3: .eabi_attribute 7, 65
1587 ; EXYNOS-M3: .eabi_attribute 8, 1
1588 ; EXYNOS-M3: .eabi_attribute 9, 2
1589 ; EXYNOS-M3: .fpu crypto-neon-fp-armv8
1590 ; EXYNOS-M3: .eabi_attribute 12, 3
1591 ; EXYNOS-M3-NOT: .eabi_attribute 27
1592 ; EXYNOS-M3: .eabi_attribute 36, 1
1593 ; EXYNOS-M3: .eabi_attribute 42, 1
1594 ; EXYNOS-M3-NOT: .eabi_attribute 44
1595 ; EXYNOS-M3: .eabi_attribute 68, 3
1596 ; EXYNOS-M3-NOT: .eabi_attribute 19
1597 ;; We default to IEEE 754 compliance
1598 ; EXYNOS-M3: .eabi_attribute 20, 1
1599 ; EXYNOS-M3: .eabi_attribute 21, 1
1600 ; EXYNOS-M3-NOT: .eabi_attribute 22
1601 ; EXYNOS-M3: .eabi_attribute 23, 3
1602 ; EXYNOS-M3: .eabi_attribute 24, 1
1603 ; EXYNOS-M3: .eabi_attribute 25, 1
1604 ; EXYNOS-M3-NOT: .eabi_attribute 28
1605 ; EXYNOS-M3: .eabi_attribute 38, 1
1607 ; EXYNOS-M4: .cpu exynos-m4
1608 ; EXYNOS-M4: .eabi_attribute 6, 14
1609 ; EXYNOS-M4: .eabi_attribute 7, 65
1610 ; EXYNOS-M4: .eabi_attribute 8, 1
1611 ; EXYNOS-M4: .eabi_attribute 9, 2
1612 ; EXYNOS-M4: .fpu crypto-neon-fp-armv8
1613 ; EXYNOS-M4: .eabi_attribute 12, 4
1614 ; EXYNOS-M4-NOT: .eabi_attribute 27
1615 ; EXYNOS-M4: .eabi_attribute 36, 1
1616 ; EXYNOS-M4: .eabi_attribute 42, 1
1617 ; EXYNOS-M4-NOT: .eabi_attribute 44
1618 ; EXYNOS-M4: .eabi_attribute 68, 3
1619 ; EXYNOS-M4-NOT: .eabi_attribute 19
1620 ;; We default to IEEE 754 compliance
1621 ; EXYNOS-M4: .eabi_attribute 20, 1
1622 ; EXYNOS-M4: .eabi_attribute 21, 1
1623 ; EXYNOS-M4-NOT: .eabi_attribute 22
1624 ; EXYNOS-M4: .eabi_attribute 23, 3
1625 ; EXYNOS-M4: .eabi_attribute 24, 1
1626 ; EXYNOS-M4: .eabi_attribute 25, 1
1627 ; EXYNOS-M4-NOT: .eabi_attribute 28
1628 ; EXYNOS-M4: .eabi_attribute 38, 1
1630 ; EXYNOS-M5: .cpu exynos-m5
1631 ; EXYNOS-M5: .eabi_attribute 6, 14
1632 ; EXYNOS-M5: .eabi_attribute 7, 65
1633 ; EXYNOS-M5: .eabi_attribute 8, 1
1634 ; EXYNOS-M5: .eabi_attribute 9, 2
1635 ; EXYNOS-M5: .fpu crypto-neon-fp-armv8
1636 ; EXYNOS-M5: .eabi_attribute 12, 4
1637 ; EXYNOS-M5-NOT: .eabi_attribute 27
1638 ; EXYNOS-M5: .eabi_attribute 36, 1
1639 ; EXYNOS-M5: .eabi_attribute 42, 1
1640 ; EXYNOS-M5-NOT: .eabi_attribute 44
1641 ; EXYNOS-M5: .eabi_attribute 68, 3
1642 ; EXYNOS-M5-NOT: .eabi_attribute 19
1643 ;; We default to IEEE 754 compliance
1644 ; EXYNOS-M5: .eabi_attribute 20, 1
1645 ; EXYNOS-M5: .eabi_attribute 21, 1
1646 ; EXYNOS-M5-NOT: .eabi_attribute 22
1647 ; EXYNOS-M5: .eabi_attribute 23, 3
1648 ; EXYNOS-M5: .eabi_attribute 24, 1
1649 ; EXYNOS-M5: .eabi_attribute 25, 1
1650 ; EXYNOS-M5-NOT: .eabi_attribute 28
1651 ; EXYNOS-M5: .eabi_attribute 38, 1
1653 ; GENERIC-FPU-VFPV3-FP16: .fpu vfpv3-fp16
1654 ; GENERIC-FPU-VFPV3-D16-FP16: .fpu vfpv3-d16-fp16
1655 ; GENERIC-FPU-VFPV3XD: .fpu vfpv3xd
1656 ; GENERIC-FPU-VFPV3XD-FP16: .fpu vfpv3xd-fp16
1657 ; GENERIC-FPU-NEON-FP16: .fpu neon-fp16
1659 ; GENERIC-ARMV8_1-A: .eabi_attribute 6, 14
1660 ; GENERIC-ARMV8_1-A: .eabi_attribute 7, 65
1661 ; GENERIC-ARMV8_1-A: .eabi_attribute 8, 1
1662 ; GENERIC-ARMV8_1-A: .eabi_attribute 9, 2
1663 ; GENERIC-ARMV8_1-A: .fpu crypto-neon-fp-armv8
1664 ; GENERIC-ARMV8_1-A: .eabi_attribute 12, 4
1665 ; GENERIC-ARMV8_1-A-NOT: .eabi_attribute 27
1666 ; GENERIC-ARMV8_1-A: .eabi_attribute 36, 1
1667 ; GENERIC-ARMV8_1-A: .eabi_attribute 42, 1
1668 ; GENERIC-ARMV8_1-A-NOT: .eabi_attribute 44
1669 ; GENERIC-ARMV8_1-A: .eabi_attribute 68, 3
1670 ; GENERIC-ARMV8_1-A-NOT: .eabi_attribute 19
1671 ;; We default to IEEE 754 compliance
1672 ; GENERIC-ARMV8_1-A: .eabi_attribute 20, 1
1673 ; GENERIC-ARMV8_1-A: .eabi_attribute 21, 1
1674 ; GENERIC-ARMV8_1-A-NOT: .eabi_attribute 22
1675 ; GENERIC-ARMV8_1-A: .eabi_attribute 23, 3
1676 ; GENERIC-ARMV8_1-A: .eabi_attribute 24, 1
1677 ; GENERIC-ARMV8_1-A: .eabi_attribute 25, 1
1678 ; GENERIC-ARMV8_1-A-NOT: .eabi_attribute 28
1679 ; GENERIC-ARMV8_1-A: .eabi_attribute 38, 1
1681 ; GENERIC-ARMV8_1-A-FAST-NOT: .eabi_attribute 19
1682 ;; GENERIC-ARMV8_1-A has the ARMv8 FP unit, which always flushes preserving sign.
1683 ; GENERIC-ARMV8_1-A-FAST: .eabi_attribute 20, 2
1684 ; GENERIC-ARMV8_1-A-FAST-NOT: .eabi_attribute 21
1685 ; GENERIC-ARMV8_1-A-FAST-NOT: .eabi_attribute 22
1686 ; GENERIC-ARMV8_1-A-FAST: .eabi_attribute 23, 1
1688 ; RELOC-PIC: .eabi_attribute 15, 1
1689 ; RELOC-PIC: .eabi_attribute 16, 1
1690 ; RELOC-PIC: .eabi_attribute 17, 2
1691 ; RELOC-OTHER: .eabi_attribute 17, 1
1692 ; RELOC-ROPI-NOT: .eabi_attribute 15,
1693 ; RELOC-ROPI: .eabi_attribute 16, 1
1694 ; RELOC-ROPI: .eabi_attribute 17, 1
1695 ; RELOC-RWPI: .eabi_attribute 15, 2
1696 ; RELOC-RWPI-NOT: .eabi_attribute 16,
1697 ; RELOC-RWPI: .eabi_attribute 17, 1
1698 ; RELOC-ROPI-RWPI: .eabi_attribute 15, 2
1699 ; RELOC-ROPI-RWPI: .eabi_attribute 16, 1
1700 ; RELOC-ROPI-RWPI: .eabi_attribute 17, 1
1702 ; PCS-R9-USE: .eabi_attribute 14, 0
1703 ; PCS-R9-RESERVE: .eabi_attribute 14, 3
1705 ; ARMv8R: .eabi_attribute 67, "2.09" @ Tag_conformance
1706 ; ARMv8R: .eabi_attribute 6, 15 @ Tag_CPU_arch
1707 ; ARMv8R: .eabi_attribute 7, 82 @ Tag_CPU_arch_profile
1708 ; ARMv8R: .eabi_attribute 8, 1 @ Tag_ARM_ISA_use
1709 ; ARMv8R: .eabi_attribute 9, 2 @ Tag_THUMB_ISA_use
1710 ; ARMv8R-NOFPU-NOT: .fpu
1711 ; ARMv8R-NOFPU-NOT: .eabi_attribute 12
1712 ; ARMv8R-SP: .fpu fpv5-sp-d16
1713 ; ARMv8R-SP-NOT: .eabi_attribute 12
1714 ; ARMv8R-NEON: .fpu neon-fp-armv8
1715 ; ARMv8R-NEON: .eabi_attribute 12, 3 @ Tag_Advanced_SIMD_arch
1716 ; ARMv8R-NOFPU-NOT: .eabi_attribute 27
1717 ; ARMv8R-SP: .eabi_attribute 27, 1 @ Tag_ABI_HardFP_use
1718 ; ARMv8R-NEON-NOT: .eabi_attribute 27
1719 ; ARMv8R-NOFPU-NOT: .eabi_attribute 36
1720 ; ARMv8R-SP: .eabi_attribute 36, 1 @ Tag_FP_HP_extension
1721 ; ARMv8R-NEON: .eabi_attribute 36, 1 @ Tag_FP_HP_extension
1722 ; ARMv8R: .eabi_attribute 42, 1 @ Tag_MPextension_use
1723 ; ARMv8R: .eabi_attribute 68, 2 @ Tag_Virtualization_use
1724 ; ARMv8R: .eabi_attribute 38, 1 @ Tag_ABI_FP_16bit_format
1725 ; ARMv8R: .eabi_attribute 14, 0 @ Tag_ABI_PCS_R9_use
1727 ; ARMv81M-MAIN: .eabi_attribute 6, 21 @ Tag_CPU_arch
1728 ; ARMv81M-MAIN-NOT: .eabi_attribute 48
1729 ; ARMv81M-MAIN-MVEINT: .eabi_attribute 6, 21 @ Tag_CPU_arch
1730 ; ARMv81M-MAIN-MVEINT: .eabi_attribute 48, 1 @ Tag_MVE_arch
1731 ; ARMv81M-MAIN-MVEFP: .eabi_attribute 6, 21 @ Tag_CPU_arch
1732 ; ARMv81M-MAIN-MVEFP: .eabi_attribute 48, 2 @ Tag_MVE_arch
1733 ; ARMv81M-MAIN-PACBTI: .eabi_attribute 50, 2 @ Tag_PAC_extension
1734 ; ARMv81M-MAIN-PACBTI: .eabi_attribute 52, 2 @ Tag_BTI_extension
1736 ; CORTEX-M55: .cpu cortex-m55
1737 ; CORTEX-M55: .eabi_attribute 6, 21
1738 ; CORTEX-M55: .eabi_attribute 7, 77
1739 ; CORTEX-M55: .eabi_attribute 8, 0
1740 ; CORTEX-M55: .eabi_attribute 9, 3
1741 ; CORTEX-M55: .fpu fpv5-d16
1742 ; CORTEX-M55: .eabi_attribute 36, 1
1743 ; CORTEX-M55-NOT: .eabi_attribute 44
1744 ; CORTEX-M55: .eabi_attribute 46, 1
1745 ; CORTEX-M55: .eabi_attribute 34, 1
1746 ; CORTEX-M55: .eabi_attribute 17, 1
1747 ; CORTEX-M55-NOT: .eabi_attribute 19
1748 ; CORTEX-M55: .eabi_attribute 20, 1
1749 ; CORTEX-M55: .eabi_attribute 21, 1
1750 ; CORTEX-M55: .eabi_attribute 23, 3
1751 ; CORTEX-M55: .eabi_attribute 24, 1
1752 ; CORTEX-M55: .eabi_attribute 25, 1
1753 ; CORTEX-M55-NOT: .eabi_attribute 28
1754 ; CORTEX-M55: .eabi_attribute 38, 1
1755 ; CORTEX-M55: .eabi_attribute 14, 0
1757 ; CORTEX-M85: .cpu cortex-m85
1758 ; CORTEX-M85: .eabi_attribute 6, 21 @ Tag_CPU_arch
1759 ; CORTEX-M85: .eabi_attribute 7, 77 @ Tag_CPU_arch_profile
1760 ; CORTEX-M85: .eabi_attribute 8, 0 @ Tag_ARM_ISA_use
1761 ; CORTEX-M85: .eabi_attribute 9, 3 @ Tag_THUMB_ISA_use
1762 ; CORTEX-M85: .fpu fpv5-d16
1763 ; CORTEX-M85: .eabi_attribute 36, 1 @ Tag_FP_HP_extension
1764 ; CORTEX-M85: .eabi_attribute 48, 2 @ Tag_MVE_arch
1765 ; CORTEX-M85: .eabi_attribute 46, 1 @ Tag_DSP_extension
1766 ; CORTEX-M85: .eabi_attribute 34, 1 @ Tag_CPU_unaligned_access
1767 ; CORTEX-M85: .eabi_attribute 50, 2 @ Tag_PAC_extension
1768 ; CORTEX-M85: .eabi_attribute 52, 2 @ Tag_BTI_extension
1770 ; CHECK-NO-PACBTI-NOT: .eabi_attribute 50
1771 ; CHECK-NO-PACBTI-NOT: .eabi_attribute 52
1774 define i32 @f(i64 %z) {