9334e9e3a274c096ed258749bf10844758694025
[platform/upstream/gcc.git] / gcc / testsuite / gcc.target / i386 / funcspec-56.inc
1 /* Common 32-bit and 64-bit function specific options.  */
2
3 extern void test_abm (void)                     __attribute__((__target__("abm")));
4 extern void test_aes (void)                     __attribute__((__target__("aes")));
5 extern void test_bmi (void)                     __attribute__((__target__("bmi")));
6 extern void test_mmx (void)                     __attribute__((__target__("mmx")));
7 extern void test_pclmul (void)                  __attribute__((__target__("pclmul")));
8 extern void test_popcnt (void)                  __attribute__((__target__("popcnt")));
9 extern void test_recip (void)                   __attribute__((__target__("recip")));
10 extern void test_sse (void)                     __attribute__((__target__("sse")));
11 extern void test_sse2 (void)                    __attribute__((__target__("sse2")));
12 extern void test_sse3 (void)                    __attribute__((__target__("sse3")));
13 extern void test_sse4 (void)                    __attribute__((__target__("sse4")));
14 extern void test_sse4_1 (void)                  __attribute__((__target__("sse4.1")));
15 extern void test_sse4_2 (void)                  __attribute__((__target__("sse4.2")));
16 extern void test_sse4a (void)                   __attribute__((__target__("sse4a")));
17 extern void test_fma (void)                     __attribute__((__target__("fma")));
18 extern void test_fma4 (void)                    __attribute__((__target__("fma4")));
19 extern void test_xop (void)                     __attribute__((__target__("xop")));
20 extern void test_ssse3 (void)                   __attribute__((__target__("ssse3")));
21 extern void test_tbm (void)                     __attribute__((__target__("tbm")));
22 extern void test_avx (void)                     __attribute__((__target__("avx")));
23 extern void test_avx2 (void)                    __attribute__((__target__("avx2")));
24 extern void test_avx512f (void)                 __attribute__((__target__("avx512f")));
25 extern void test_avx512vl(void)                 __attribute__((__target__("avx512vl")));
26 extern void test_avx512bw(void)                 __attribute__((__target__("avx512bw")));
27 extern void test_avx512dq(void)                 __attribute__((__target__("avx512dq")));
28 extern void test_avx512er(void)                 __attribute__((__target__("avx512er")));
29 extern void test_avx512pf(void)                 __attribute__((__target__("avx512pf")));
30 extern void test_avx512cd(void)                 __attribute__((__target__("avx512cd")));
31 extern void test_avx5124fmaps(void)             __attribute__((__target__("avx5124fmaps")));
32 extern void test_avx5124vnniw(void)             __attribute__((__target__("avx5124vnniw")));
33 extern void test_bmi (void)                     __attribute__((__target__("bmi")));
34 extern void test_bmi2 (void)                    __attribute__((__target__("bmi2")));
35
36 extern void test_no_abm (void)                  __attribute__((__target__("no-abm")));
37 extern void test_no_aes (void)                  __attribute__((__target__("no-aes")));
38 extern void test_no_bmi (void)                  __attribute__((__target__("no-bmi")));
39 extern void test_no_mmx (void)                  __attribute__((__target__("no-mmx")));
40 extern void test_no_pclmul (void)               __attribute__((__target__("no-pclmul")));
41 extern void test_no_popcnt (void)               __attribute__((__target__("no-popcnt")));
42 extern void test_no_recip (void)                __attribute__((__target__("no-recip")));
43 extern void test_no_sse (void)                  __attribute__((__target__("no-sse")));
44 extern void test_no_sse2 (void)                 __attribute__((__target__("no-sse2")));
45 extern void test_no_sse3 (void)                 __attribute__((__target__("no-sse3")));
46 extern void test_no_sse4 (void)                 __attribute__((__target__("no-sse4")));
47 extern void test_no_sse4_1 (void)               __attribute__((__target__("no-sse4.1")));
48 extern void test_no_sse4_2 (void)               __attribute__((__target__("no-sse4.2")));
49 extern void test_no_sse4a (void)                __attribute__((__target__("no-sse4a")));
50 extern void test_no_fma (void)                  __attribute__((__target__("no-fma")));
51 extern void test_no_fma4 (void)                 __attribute__((__target__("no-fma4")));
52 extern void test_no_xop (void)                  __attribute__((__target__("no-xop")));
53 extern void test_no_ssse3 (void)                __attribute__((__target__("no-ssse3")));
54 extern void test_no_tbm (void)                  __attribute__((__target__("no-tbm")));
55 extern void test_no_avx (void)                  __attribute__((__target__("no-avx")));
56 extern void test_no_avx2 (void)                 __attribute__((__target__("no-avx2")));
57 extern void test_no_avx512f (void)              __attribute__((__target__("no-avx512f")));
58 extern void test_no_avx512vl(void)              __attribute__((__target__("no-avx512vl")));
59 extern void test_no_avx512bw(void)              __attribute__((__target__("no-avx512bw")));
60 extern void test_no_avx512dq(void)              __attribute__((__target__("no-avx512dq")));
61 extern void test_no_avx512er(void)              __attribute__((__target__("no-avx512er")));
62 extern void test_bo_avx512pf(void)              __attribute__((__target__("no-avx512pf")));
63 extern void test_no_avx512cd(void)              __attribute__((__target__("no-avx512cd")));
64 extern void test_no_avx5124fmaps(void)          __attribute__((__target__("no-avx5124fmaps")));
65 extern void test_no_avx5124vnniw(void)          __attribute__((__target__("no-avx5124vnniw")));
66 extern void test_no_bmi (void)                  __attribute__((__target__("no-bmi")));
67 extern void test_no_bmi2 (void)                 __attribute__((__target__("no-bmi2")));
68
69 extern void test_arch_nocona (void)             __attribute__((__target__("arch=nocona")));
70 extern void test_arch_core2 (void)              __attribute__((__target__("arch=core2")));
71 extern void test_arch_corei7 (void)             __attribute__((__target__("arch=corei7")));
72 extern void test_arch_corei7_avx (void)         __attribute__((__target__("arch=corei7-avx")));
73 extern void test_arch_core_avx2 (void)          __attribute__((__target__("arch=core-avx2")));
74 extern void test_arch_knl (void)                __attribute__((__target__("arch=knl")));
75 extern void test_arch_skylake_avx512 (void)     __attribute__((__target__("arch=skylake-avx512")));
76 extern void test_arch_k8 (void)                 __attribute__((__target__("arch=k8")));
77 extern void test_arch_k8_sse3 (void)            __attribute__((__target__("arch=k8-sse3")));
78 extern void test_arch_opteron (void)            __attribute__((__target__("arch=opteron")));
79 extern void test_arch_opteron_sse3 (void)       __attribute__((__target__("arch=opteron-sse3")));
80 extern void test_arch_athlon64 (void)           __attribute__((__target__("arch=athlon64")));
81 extern void test_arch_athlon64_sse3 (void)      __attribute__((__target__("arch=athlon64-sse3")));
82 extern void test_arch_athlon_fx (void)          __attribute__((__target__("arch=athlon-fx")));
83 extern void test_arch_amdfam10 (void)           __attribute__((__target__("arch=amdfam10")));
84 extern void test_arch_barcelona (void)          __attribute__((__target__("arch=barcelona")));
85 extern void test_arch_bdver1 (void)             __attribute__((__target__("arch=bdver1")));
86 extern void test_arch_bdver2 (void)             __attribute__((__target__("arch=bdver2")));
87 extern void test_arch_bdver3 (void)             __attribute__((__target__("arch=bdver3")));
88
89 extern void test_tune_nocona (void)             __attribute__((__target__("tune=nocona")));
90 extern void test_tune_core2 (void)              __attribute__((__target__("tune=core2")));
91 extern void test_tune_corei7 (void)             __attribute__((__target__("tune=corei7")));
92 extern void test_tune_corei7_avx (void)         __attribute__((__target__("tune=corei7-avx")));
93 extern void test_tune_core_avx2 (void)          __attribute__((__target__("tune=core-avx2")));
94 extern void test_tune_k8 (void)                 __attribute__((__target__("tune=k8")));
95 extern void test_tune_k8_sse3 (void)            __attribute__((__target__("tune=k8-sse3")));
96 extern void test_tune_opteron (void)            __attribute__((__target__("tune=opteron")));
97 extern void test_tune_opteron_sse3 (void)       __attribute__((__target__("tune=opteron-sse3")));
98 extern void test_tune_athlon64 (void)           __attribute__((__target__("tune=athlon64")));
99 extern void test_tune_athlon64_sse3 (void)      __attribute__((__target__("tune=athlon64-sse3")));
100 extern void test_tune_athlon_fx (void)          __attribute__((__target__("tune=athlon-fx")));
101 extern void test_tune_amdfam10 (void)           __attribute__((__target__("tune=amdfam10")));
102 extern void test_tune_barcelona (void)          __attribute__((__target__("tune=barcelona")));
103 extern void test_tune_bdver1 (void)             __attribute__((__target__("tune=bdver1")));
104 extern void test_tune_bdver2 (void)             __attribute__((__target__("tune=bdver2")));
105 extern void test_tune_bdver3 (void)             __attribute__((__target__("tune=bdver3")));
106 extern void test_tune_generic (void)            __attribute__((__target__("tune=generic")));
107
108 extern void test_fpmath_sse (void)              __attribute__((__target__("sse2,fpmath=sse")));
109 extern void test_fpmath_387 (void)              __attribute__((__target__("sse2,fpmath=387")));
110 extern void test_fpmath_sse_387 (void)          __attribute__((__target__("sse2,fpmath=sse+387")));
111 extern void test_fpmath_387_sse (void)          __attribute__((__target__("sse2,fpmath=387+sse")));
112 extern void test_fpmath_both (void)             __attribute__((__target__("sse2,fpmath=both")));