PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / funcspec-56.inc
blob746c9cfc4e145c3e099379db7906d89e024fb1d6
1 /* Common 32-bit and 64-bit function specific options.  */
3 extern void test_sgx (void)                     __attribute__((__target__("sgx")));
4 extern void test_avx5124fmaps(void)             __attribute__((__target__("avx5124fmaps")));
5 extern void test_avx5124vnniw(void)             __attribute__((__target__("avx5124vnniw")));
6 extern void test_avx512vpopcntdq(void)          __attribute__((__target__("avx512vpopcntdq")));
8 extern void test_avx512vbmi (void)              __attribute__((__target__("avx512vbmi")));
9 extern void test_avx512ifma (void)              __attribute__((__target__("avx512ifma")));
10 extern void test_avx512vl (void)                __attribute__((__target__("avx512vl")));
11 extern void test_avx512bw (void)                __attribute__((__target__("avx512bw")));
12 extern void test_avx512dq (void)                __attribute__((__target__("avx512dq")));
13 extern void test_avx512er (void)                __attribute__((__target__("avx512er")));
14 extern void test_avx512pf (void)                __attribute__((__target__("avx512pf")));
15 extern void test_avx512cd (void)                __attribute__((__target__("avx512cd")));
16 extern void test_avx512f  (void)                __attribute__((__target__("avx512f")));
17 extern void test_avx2 (void)                    __attribute__((__target__("avx2")));
18 extern void test_fma (void)                     __attribute__((__target__("fma")));
19 extern void test_xop (void)                     __attribute__((__target__("xop")));
20 extern void test_fma4 (void)                    __attribute__((__target__("fma4")));
21 extern void test_f16c (void)                    __attribute__((__target__("f16c")));
22 extern void test_avx (void)                     __attribute__((__target__("avx")));
23 extern void test_sse4 (void)                    __attribute__((__target__("sse4")));
24 extern void test_sse4_2 (void)                  __attribute__((__target__("sse4.2")));
25 extern void test_sse4_1 (void)                  __attribute__((__target__("sse4.1")));
26 extern void test_sse4a (void)                   __attribute__((__target__("sse4a")));
27 extern void test_ssse3 (void)                   __attribute__((__target__("ssse3")));
28 extern void test_sse3 (void)                    __attribute__((__target__("sse3")));
29 extern void test_aes (void)                     __attribute__((__target__("aes")));
30 extern void test_sha (void)                     __attribute__((__target__("sha")));
31 extern void test_pclmul (void)                  __attribute__((__target__("pclmul")));
32 extern void test_sse2 (void)                    __attribute__((__target__("sse2")));
33 extern void test_sse (void)                     __attribute__((__target__("sse")));
34 extern void test_3dnowa (void)                  __attribute__((__target__("3dnowa")));
35 extern void test_3dnow (void)                   __attribute__((__target__("3dnow")));
36 extern void test_mmx (void)                     __attribute__((__target__("mmx")));
37 extern void test_rtm (void)                     __attribute__((__target__("rtm")));
38 extern void test_prfchw (void)                  __attribute__((__target__("prfchw")));
39 extern void test_rdseed (void)                  __attribute__((__target__("rdseed")));
40 extern void test_adx (void)                     __attribute__((__target__("adx")));
41 extern void test_prefetchwt1 (void)             __attribute__((__target__("prefetchwt1")));
42 extern void test_clflushopt (void)              __attribute__((__target__("clflushopt")));
43 extern void test_xsaves (void)                  __attribute__((__target__("xsaves")));
44 extern void test_xsavec (void)                  __attribute__((__target__("xsavec")));
45 extern void test_xsaveopt (void)                __attribute__((__target__("xsaveopt")));
46 extern void test_xsave (void)                   __attribute__((__target__("xsave")));
47 extern void test_abm (void)                     __attribute__((__target__("abm")));
48 extern void test_bmi (void)                     __attribute__((__target__("bmi")));
49 extern void test_bmi2 (void)                    __attribute__((__target__("bmi2")));
50 extern void test_lzcnt (void)                   __attribute__((__target__("lzcnt")));
51 extern void test_tbm (void)                     __attribute__((__target__("tbm")));
52 extern void test_popcnt (void)                  __attribute__((__target__("popcnt")));
53 extern void test_cx16 (void)                    __attribute__((__target__("cx16")));
54 extern void test_sahf (void)                    __attribute__((__target__("sahf")));
55 extern void test_movbe (void)                   __attribute__((__target__("movbe")));
56 extern void test_crc32 (void)                   __attribute__((__target__("crc32")));
57 extern void test_fsgsbase (void)                __attribute__((__target__("fsgsbase")));
58 extern void test_rdrnd (void)                   __attribute__((__target__("rdrnd")));
59 extern void test_mwaitx (void)                  __attribute__((__target__("mwaitx")));
60 extern void test_clzero (void)                  __attribute__((__target__("clzero")));
61 extern void test_pku (void)                     __attribute__((__target__("pku")));
62 extern void test_lwp (void)                     __attribute__((__target__("lwp")));
63 extern void test_hle (void)                     __attribute__((__target__("hle")));
64 extern void test_fxsr (void)                    __attribute__((__target__("fxsr")));
65 extern void test_mpx (void)                     __attribute__((__target__("mpx")));
66 extern void test_clwb (void)                    __attribute__((__target__("clwb")));
68 extern void test_cld (void)                     __attribute__((__target__("cld")));
69 extern void test_recip (void)                   __attribute__((__target__("recip")));
71 extern void test_no_sgx (void)                  __attribute__((__target__("no-sgx")));
72 extern void test_no_avx5124fmaps(void)          __attribute__((__target__("no-avx5124fmaps")));
73 extern void test_no_avx5124vnniw(void)          __attribute__((__target__("no-avx5124vnniw")));
74 extern void test_no_avx512vpopcntdq(void)       __attribute__((__target__("no-avx512vpopcntdq")));
76 extern void test_no_avx512vbmi (void)           __attribute__((__target__("no-avx512vbmi")));
77 extern void test_no_avx512ifma (void)           __attribute__((__target__("no-avx512ifma")));
78 extern void test_no_avx512vl (void)             __attribute__((__target__("no-avx512vl")));
79 extern void test_no_avx512bw (void)             __attribute__((__target__("no-avx512bw")));
80 extern void test_no_avx512dq (void)             __attribute__((__target__("no-avx512dq")));
81 extern void test_no_avx512er (void)             __attribute__((__target__("no-avx512er")));
82 extern void test_no_avx512pf (void)             __attribute__((__target__("no-avx512pf")));
83 extern void test_no_avx512cd (void)             __attribute__((__target__("no-avx512cd")));
84 extern void test_no_avx512f  (void)             __attribute__((__target__("no-avx512f")));
85 extern void test_no_avx2 (void)                 __attribute__((__target__("no-avx2")));
86 extern void test_no_fma (void)                  __attribute__((__target__("no-fma")));
87 extern void test_no_xop (void)                  __attribute__((__target__("no-xop")));
88 extern void test_no_fma4 (void)                 __attribute__((__target__("no-fma4")));
89 extern void test_no_f16c (void)                 __attribute__((__target__("no-f16c")));
90 extern void test_no_avx (void)                  __attribute__((__target__("no-avx")));
91 extern void test_no_sse4 (void)                 __attribute__((__target__("no-sse4")));
92 extern void test_no_sse4_2 (void)               __attribute__((__target__("no-sse4.2")));
93 extern void test_no_sse4_1 (void)               __attribute__((__target__("no-sse4.1")));
94 extern void test_no_sse4a (void)                __attribute__((__target__("no-sse4a")));
95 extern void test_no_ssse3 (void)                __attribute__((__target__("no-ssse3")));
96 extern void test_no_sse3 (void)                 __attribute__((__target__("no-sse3")));
97 extern void test_no_aes (void)                  __attribute__((__target__("no-aes")));
98 extern void test_no_sha (void)                  __attribute__((__target__("no-sha")));
99 extern void test_no_pclmul (void)               __attribute__((__target__("no-pclmul")));
100 extern void test_no_sse2 (void)                 __attribute__((__target__("no-sse2")));
101 extern void test_no_sse (void)                  __attribute__((__target__("no-sse")));
102 extern void test_no_3dnowa (void)               __attribute__((__target__("no-3dnowa")));
103 extern void test_no_3dnow (void)                __attribute__((__target__("no-3dnow")));
104 extern void test_no_mmx (void)                  __attribute__((__target__("no-mmx")));
105 extern void test_no_rtm (void)                  __attribute__((__target__("no-rtm")));
106 extern void test_no_prfchw (void)               __attribute__((__target__("no-prfchw")));
107 extern void test_no_rdseed (void)               __attribute__((__target__("no-rdseed")));
108 extern void test_no_adx (void)                  __attribute__((__target__("no-adx")));
109 extern void test_no_prefetchwt1 (void)          __attribute__((__target__("no-prefetchwt1")));
110 extern void test_no_clflushopt (void)           __attribute__((__target__("no-clflushopt")));
111 extern void test_no_xsaves (void)               __attribute__((__target__("no-xsaves")));
112 extern void test_no_xsavec (void)               __attribute__((__target__("no-xsavec")));
113 extern void test_no_xsaveopt (void)             __attribute__((__target__("no-xsaveopt")));
114 extern void test_no_xsave (void)                __attribute__((__target__("no-xsave")));
115 extern void test_no_abm (void)                  __attribute__((__target__("no-abm")));
116 extern void test_no_bmi (void)                  __attribute__((__target__("no-bmi")));
117 extern void test_no_bmi2 (void)                 __attribute__((__target__("no-bmi2")));
118 extern void test_no_lzcnt (void)                __attribute__((__target__("no-lzcnt")));
119 extern void test_no_tbm (void)                  __attribute__((__target__("no-tbm")));
120 extern void test_no_popcnt (void)               __attribute__((__target__("no-popcnt")));
121 extern void test_no_cx16 (void)                 __attribute__((__target__("no-cx16")));
122 extern void test_no_sahf (void)                 __attribute__((__target__("no-sahf")));
123 extern void test_no_movbe (void)                __attribute__((__target__("no-movbe")));
124 extern void test_no_crc32 (void)                __attribute__((__target__("no-crc32")));
125 extern void test_no_fsgsbase (void)             __attribute__((__target__("no-fsgsbase")));
126 extern void test_no_rdrnd (void)                __attribute__((__target__("no-rdrnd")));
127 extern void test_no_mwaitx (void)               __attribute__((__target__("no-mwaitx")));
128 extern void test_no_clzero (void)               __attribute__((__target__("no-clzero")));
129 extern void test_no_pku (void)                  __attribute__((__target__("no-pku")));
130 extern void test_no_lwp (void)                  __attribute__((__target__("no-lwp")));
131 extern void test_no_hle (void)                  __attribute__((__target__("no-hle")));
132 extern void test_no_fxsr (void)                 __attribute__((__target__("no-fxsr")));
133 extern void test_no_mpx (void)                  __attribute__((__target__("no-mpx")));
134 extern void test_no_clwb (void)                 __attribute__((__target__("no-clwb")));
136 extern void test_no_cld (void)                  __attribute__((__target__("no-cld")));
137 extern void test_no_recip (void)                __attribute__((__target__("no-recip")));
139 extern void test_arch_nocona (void)             __attribute__((__target__("arch=nocona")));
140 extern void test_arch_core2 (void)              __attribute__((__target__("arch=core2")));
141 extern void test_arch_corei7 (void)             __attribute__((__target__("arch=corei7")));
142 extern void test_arch_corei7_avx (void)         __attribute__((__target__("arch=corei7-avx")));
143 extern void test_arch_core_avx2 (void)          __attribute__((__target__("arch=core-avx2")));
144 extern void test_arch_knl (void)                __attribute__((__target__("arch=knl")));
145 extern void test_arch_skylake_avx512 (void)     __attribute__((__target__("arch=skylake-avx512")));
146 extern void test_arch_k8 (void)                 __attribute__((__target__("arch=k8")));
147 extern void test_arch_k8_sse3 (void)            __attribute__((__target__("arch=k8-sse3")));
148 extern void test_arch_opteron (void)            __attribute__((__target__("arch=opteron")));
149 extern void test_arch_opteron_sse3 (void)       __attribute__((__target__("arch=opteron-sse3")));
150 extern void test_arch_athlon64 (void)           __attribute__((__target__("arch=athlon64")));
151 extern void test_arch_athlon64_sse3 (void)      __attribute__((__target__("arch=athlon64-sse3")));
152 extern void test_arch_athlon_fx (void)          __attribute__((__target__("arch=athlon-fx")));
153 extern void test_arch_amdfam10 (void)           __attribute__((__target__("arch=amdfam10")));
154 extern void test_arch_barcelona (void)          __attribute__((__target__("arch=barcelona")));
155 extern void test_arch_bdver1 (void)             __attribute__((__target__("arch=bdver1")));
156 extern void test_arch_bdver2 (void)             __attribute__((__target__("arch=bdver2")));
157 extern void test_arch_bdver3 (void)             __attribute__((__target__("arch=bdver3")));
159 extern void test_tune_nocona (void)             __attribute__((__target__("tune=nocona")));
160 extern void test_tune_core2 (void)              __attribute__((__target__("tune=core2")));
161 extern void test_tune_corei7 (void)             __attribute__((__target__("tune=corei7")));
162 extern void test_tune_corei7_avx (void)         __attribute__((__target__("tune=corei7-avx")));
163 extern void test_tune_core_avx2 (void)          __attribute__((__target__("tune=core-avx2")));
164 extern void test_tune_k8 (void)                 __attribute__((__target__("tune=k8")));
165 extern void test_tune_k8_sse3 (void)            __attribute__((__target__("tune=k8-sse3")));
166 extern void test_tune_opteron (void)            __attribute__((__target__("tune=opteron")));
167 extern void test_tune_opteron_sse3 (void)       __attribute__((__target__("tune=opteron-sse3")));
168 extern void test_tune_athlon64 (void)           __attribute__((__target__("tune=athlon64")));
169 extern void test_tune_athlon64_sse3 (void)      __attribute__((__target__("tune=athlon64-sse3")));
170 extern void test_tune_athlon_fx (void)          __attribute__((__target__("tune=athlon-fx")));
171 extern void test_tune_amdfam10 (void)           __attribute__((__target__("tune=amdfam10")));
172 extern void test_tune_barcelona (void)          __attribute__((__target__("tune=barcelona")));
173 extern void test_tune_bdver1 (void)             __attribute__((__target__("tune=bdver1")));
174 extern void test_tune_bdver2 (void)             __attribute__((__target__("tune=bdver2")));
175 extern void test_tune_bdver3 (void)             __attribute__((__target__("tune=bdver3")));
176 extern void test_tune_generic (void)            __attribute__((__target__("tune=generic")));
178 extern void test_fpmath_sse (void)              __attribute__((__target__("sse2,fpmath=sse")));
179 extern void test_fpmath_387 (void)              __attribute__((__target__("sse2,fpmath=387")));
180 extern void test_fpmath_sse_387 (void)          __attribute__((__target__("sse2,fpmath=sse+387")));
181 extern void test_fpmath_387_sse (void)          __attribute__((__target__("sse2,fpmath=387+sse")));
182 extern void test_fpmath_both (void)             __attribute__((__target__("sse2,fpmath=both")));