diff mbox

[i386,testsuite] : Move common 32-bit and 64-bit function specific options to an include file

Message ID CAFULd4bnZZxF9bkN_+jZ6owT4PM9YCJ6gjmNX_=XEo87PuAgjg@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Nov. 15, 2016, 7:30 p.m. UTC
Hello!

Just noticed that we don't test many function specific options on
64-bit targets.

2016-11-15  Uros Bizjak  <ubizjak@gmail.com>

    * gcc.target/i386/funcspec-56.inc: New file.
    * gcc.target/i386.funcspec-5.c: Include funcspec-56.inc.  Remove
    common 32-bit and 64-bit function specific options.
    * gcc.target/i386.funcspec-6.c: Ditto.

Tested on x86_64-linux-gnu {,-m32}  and committed to mainline.

Uros.
diff mbox

Patch

Index: gcc.target/i386/funcspec-5.c
===================================================================
--- gcc.target/i386/funcspec-5.c	(revision 242427)
+++ gcc.target/i386/funcspec-5.c	(working copy)
@@ -3,68 +3,8 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target ia32 } */
 
-extern void test_abm (void)			__attribute__((__target__("abm")));
-extern void test_aes (void)			__attribute__((__target__("aes")));
-extern void test_bmi (void)			__attribute__((__target__("bmi")));
-extern void test_mmx (void)			__attribute__((__target__("mmx")));
-extern void test_pclmul (void)			__attribute__((__target__("pclmul")));
-extern void test_popcnt (void)			__attribute__((__target__("popcnt")));
-extern void test_recip (void)			__attribute__((__target__("recip")));
-extern void test_sse (void)			__attribute__((__target__("sse")));
-extern void test_sse2 (void)			__attribute__((__target__("sse2")));
-extern void test_sse3 (void)			__attribute__((__target__("sse3")));
-extern void test_sse4 (void)			__attribute__((__target__("sse4")));
-extern void test_sse4_1 (void)			__attribute__((__target__("sse4.1")));
-extern void test_sse4_2 (void)			__attribute__((__target__("sse4.2")));
-extern void test_sse4a (void)			__attribute__((__target__("sse4a")));
-extern void test_fma (void)			__attribute__((__target__("fma")));
-extern void test_fma4 (void)			__attribute__((__target__("fma4")));
-extern void test_xop (void)			__attribute__((__target__("xop")));
-extern void test_ssse3 (void)			__attribute__((__target__("ssse3")));
-extern void test_tbm (void)			__attribute__((__target__("tbm")));
-extern void test_avx (void)			__attribute__((__target__("avx")));
-extern void test_avx2 (void)			__attribute__((__target__("avx2")));
-extern void test_avx512f (void)			__attribute__((__target__("avx512f")));
-extern void test_avx512vl(void)			__attribute__((__target__("avx512vl")));
-extern void test_avx512bw(void)			__attribute__((__target__("avx512bw")));
-extern void test_avx512dq(void)			__attribute__((__target__("avx512dq")));
-extern void test_avx512er(void)			__attribute__((__target__("avx512er")));
-extern void test_avx512pf(void)			__attribute__((__target__("avx512pf")));
-extern void test_avx512cd(void)			__attribute__((__target__("avx512cd")));
-extern void test_bmi (void)			__attribute__((__target__("bmi")));
-extern void test_bmi2 (void)			__attribute__((__target__("bmi2")));
+#include "funcspec-56.inc"
 
-extern void test_no_abm (void)			__attribute__((__target__("no-abm")));
-extern void test_no_aes (void)			__attribute__((__target__("no-aes")));
-extern void test_no_bmi (void)			__attribute__((__target__("no-bmi")));
-extern void test_no_mmx (void)			__attribute__((__target__("no-mmx")));
-extern void test_no_pclmul (void)		__attribute__((__target__("no-pclmul")));
-extern void test_no_popcnt (void)		__attribute__((__target__("no-popcnt")));
-extern void test_no_recip (void)		__attribute__((__target__("no-recip")));
-extern void test_no_sse (void)			__attribute__((__target__("no-sse")));
-extern void test_no_sse2 (void)			__attribute__((__target__("no-sse2")));
-extern void test_no_sse3 (void)			__attribute__((__target__("no-sse3")));
-extern void test_no_sse4 (void)			__attribute__((__target__("no-sse4")));
-extern void test_no_sse4_1 (void)		__attribute__((__target__("no-sse4.1")));
-extern void test_no_sse4_2 (void)		__attribute__((__target__("no-sse4.2")));
-extern void test_no_sse4a (void)		__attribute__((__target__("no-sse4a")));
-extern void test_no_fma (void)			__attribute__((__target__("no-fma")));
-extern void test_no_fma4 (void)			__attribute__((__target__("no-fma4")));
-extern void test_no_xop (void)			__attribute__((__target__("no-xop")));
-extern void test_no_ssse3 (void)		__attribute__((__target__("no-ssse3")));
-extern void test_no_tbm (void)			__attribute__((__target__("no-tbm")));
-extern void test_no_avx (void)			__attribute__((__target__("no-avx")));
-extern void test_no_avx2 (void)   		__attribute__((__target__("no-avx2")));
-extern void test_no_avx512f (void)   		__attribute__((__target__("no-avx512f")));
-extern void test_no_avx512vl(void)		__attribute__((__target__("no-avx512vl")));
-extern void test_no_avx512bw(void)		__attribute__((__target__("no-avx512bw")));
-extern void test_no_avx512dq(void)		__attribute__((__target__("no-avx512dq")));
-extern void test_no_avx512er(void)		__attribute__((__target__("no-avx512er")));
-extern void test_bo_avx512pf(void)		__attribute__((__target__("no-avx512pf")));
-extern void test_no_avx512cd(void)		__attribute__((__target__("no-avx512cd")));
-extern void test_no_bmi (void)			__attribute__((__target__("no-bmi")));
-extern void test_no_bmi2 (void)			__attribute__((__target__("no-bmi2")));
-
 extern void test_arch_i386 (void)		__attribute__((__target__("arch=i386")));
 extern void test_arch_i486 (void)		__attribute__((__target__("arch=i486")));
 extern void test_arch_i586 (void)		__attribute__((__target__("arch=i586")));
@@ -83,13 +23,6 @@ 
 extern void test_arch_pentium4 (void)		__attribute__((__target__("arch=pentium4")));
 extern void test_arch_pentium4m (void)		__attribute__((__target__("arch=pentium4m")));
 extern void test_arch_prescott (void)		__attribute__((__target__("arch=prescott")));
-extern void test_arch_nocona (void)		__attribute__((__target__("arch=nocona")));
-extern void test_arch_core2 (void)		__attribute__((__target__("arch=core2")));
-extern void test_arch_corei7 (void)		__attribute__((__target__("arch=corei7")));
-extern void test_arch_corei7_avx (void)		__attribute__((__target__("arch=corei7-avx")));
-extern void test_arch_core_avx2 (void)		__attribute__((__target__("arch=core-avx2")));
-extern void test_arch_knl (void)		__attribute__((__target__("arch=knl")));
-extern void test_arch_skylake_avx512 (void)	__attribute__((__target__("arch=skylake-avx512")));
 extern void test_arch_geode (void)		__attribute__((__target__("arch=geode")));
 extern void test_arch_k6 (void)			__attribute__((__target__("arch=k6")));
 extern void test_arch_k6_2 (void)		__attribute__((__target__("arch=k6-2")));
@@ -99,18 +32,6 @@ 
 extern void test_arch_athlon_4 (void)		__attribute__((__target__("arch=athlon-4")));
 extern void test_arch_athlon_xp (void)		__attribute__((__target__("arch=athlon-xp")));
 extern void test_arch_athlon_mp (void)		__attribute__((__target__("arch=athlon-mp")));
-extern void test_arch_k8 (void)			__attribute__((__target__("arch=k8")));
-extern void test_arch_k8_sse3 (void)		__attribute__((__target__("arch=k8-sse3")));
-extern void test_arch_opteron (void)		__attribute__((__target__("arch=opteron")));
-extern void test_arch_opteron_sse3 (void)	__attribute__((__target__("arch=opteron-sse3")));
-extern void test_arch_athlon64 (void)		__attribute__((__target__("arch=athlon64")));
-extern void test_arch_athlon64_sse3 (void)	__attribute__((__target__("arch=athlon64-sse3")));
-extern void test_arch_athlon_fx (void)		__attribute__((__target__("arch=athlon-fx")));
-extern void test_arch_amdfam10 (void)		__attribute__((__target__("arch=amdfam10")));
-extern void test_arch_barcelona (void)		__attribute__((__target__("arch=barcelona")));
-extern void test_arch_bdver1 (void)		__attribute__((__target__("arch=bdver1")));
-extern void test_arch_bdver2 (void)		__attribute__((__target__("arch=bdver2")));
-extern void test_arch_bdver3 (void)		__attribute__((__target__("arch=bdver3")));
 extern void test_arch_foo (void)		__attribute__((__target__("arch=foo"))); /* { dg-error "bad value" } */
 
 extern void test_tune_i386 (void)		__attribute__((__target__("tune=i386")));
@@ -131,11 +52,6 @@ 
 extern void test_tune_pentium4 (void)		__attribute__((__target__("tune=pentium4")));
 extern void test_tune_pentium4m (void)		__attribute__((__target__("tune=pentium4m")));
 extern void test_tune_prescott (void)		__attribute__((__target__("tune=prescott")));
-extern void test_tune_nocona (void)		__attribute__((__target__("tune=nocona")));
-extern void test_tune_core2 (void)		__attribute__((__target__("tune=core2")));
-extern void test_tune_corei7 (void)		__attribute__((__target__("tune=corei7")));
-extern void test_tune_corei7_avx (void)		__attribute__((__target__("tune=corei7-avx")));
-extern void test_tune_core_avx2 (void)		__attribute__((__target__("tune=core-avx2")));
 extern void test_tune_geode (void)		__attribute__((__target__("tune=geode")));
 extern void test_tune_k6 (void)			__attribute__((__target__("tune=k6")));
 extern void test_tune_k6_2 (void)		__attribute__((__target__("tune=k6-2")));
@@ -145,23 +61,4 @@ 
 extern void test_tune_athlon_4 (void)		__attribute__((__target__("tune=athlon-4")));
 extern void test_tune_athlon_xp (void)		__attribute__((__target__("tune=athlon-xp")));
 extern void test_tune_athlon_mp (void)		__attribute__((__target__("tune=athlon-mp")));
-extern void test_tune_k8 (void)			__attribute__((__target__("tune=k8")));
-extern void test_tune_k8_sse3 (void)		__attribute__((__target__("tune=k8-sse3")));
-extern void test_tune_opteron (void)		__attribute__((__target__("tune=opteron")));
-extern void test_tune_opteron_sse3 (void)	__attribute__((__target__("tune=opteron-sse3")));
-extern void test_tune_athlon64 (void)		__attribute__((__target__("tune=athlon64")));
-extern void test_tune_athlon64_sse3 (void)	__attribute__((__target__("tune=athlon64-sse3")));
-extern void test_tune_athlon_fx (void)		__attribute__((__target__("tune=athlon-fx")));
-extern void test_tune_amdfam10 (void)		__attribute__((__target__("tune=amdfam10")));
-extern void test_tune_barcelona (void)		__attribute__((__target__("tune=barcelona")));
-extern void test_tune_bdver1 (void)		__attribute__((__target__("tune=bdver1")));
-extern void test_tune_bdver2 (void)		__attribute__((__target__("tune=bdver2")));
-extern void test_tune_bdver3 (void)		__attribute__((__target__("tune=bdver3")));
-extern void test_tune_generic (void)		__attribute__((__target__("tune=generic")));
 extern void test_tune_foo (void)		__attribute__((__target__("tune=foo"))); /* { dg-error "bad value" } */
-
-extern void test_fpmath_sse (void)		__attribute__((__target__("sse2,fpmath=sse")));
-extern void test_fpmath_387 (void)		__attribute__((__target__("sse2,fpmath=387")));
-extern void test_fpmath_sse_387 (void)		__attribute__((__target__("sse2,fpmath=sse+387")));
-extern void test_fpmath_387_sse (void)		__attribute__((__target__("sse2,fpmath=387+sse")));
-extern void test_fpmath_both (void)		__attribute__((__target__("sse2,fpmath=both")));
Index: gcc.target/i386/funcspec-56.inc
===================================================================
--- gcc.target/i386/funcspec-56.inc	(nonexistent)
+++ gcc.target/i386/funcspec-56.inc	(working copy)
@@ -0,0 +1,108 @@ 
+/* Common 32-bit and 64-bit function specific options.  */
+
+extern void test_abm (void)			__attribute__((__target__("abm")));
+extern void test_aes (void)			__attribute__((__target__("aes")));
+extern void test_bmi (void)			__attribute__((__target__("bmi")));
+extern void test_mmx (void)			__attribute__((__target__("mmx")));
+extern void test_pclmul (void)			__attribute__((__target__("pclmul")));
+extern void test_popcnt (void)			__attribute__((__target__("popcnt")));
+extern void test_recip (void)			__attribute__((__target__("recip")));
+extern void test_sse (void)			__attribute__((__target__("sse")));
+extern void test_sse2 (void)			__attribute__((__target__("sse2")));
+extern void test_sse3 (void)			__attribute__((__target__("sse3")));
+extern void test_sse4 (void)			__attribute__((__target__("sse4")));
+extern void test_sse4_1 (void)			__attribute__((__target__("sse4.1")));
+extern void test_sse4_2 (void)			__attribute__((__target__("sse4.2")));
+extern void test_sse4a (void)			__attribute__((__target__("sse4a")));
+extern void test_fma (void)			__attribute__((__target__("fma")));
+extern void test_fma4 (void)			__attribute__((__target__("fma4")));
+extern void test_xop (void)			__attribute__((__target__("xop")));
+extern void test_ssse3 (void)			__attribute__((__target__("ssse3")));
+extern void test_tbm (void)			__attribute__((__target__("tbm")));
+extern void test_avx (void)			__attribute__((__target__("avx")));
+extern void test_avx2 (void)			__attribute__((__target__("avx2")));
+extern void test_avx512f (void)			__attribute__((__target__("avx512f")));
+extern void test_avx512vl(void)			__attribute__((__target__("avx512vl")));
+extern void test_avx512bw(void)			__attribute__((__target__("avx512bw")));
+extern void test_avx512dq(void)			__attribute__((__target__("avx512dq")));
+extern void test_avx512er(void)			__attribute__((__target__("avx512er")));
+extern void test_avx512pf(void)			__attribute__((__target__("avx512pf")));
+extern void test_avx512cd(void)			__attribute__((__target__("avx512cd")));
+extern void test_bmi (void)			__attribute__((__target__("bmi")));
+extern void test_bmi2 (void)			__attribute__((__target__("bmi2")));
+
+extern void test_no_abm (void)			__attribute__((__target__("no-abm")));
+extern void test_no_aes (void)			__attribute__((__target__("no-aes")));
+extern void test_no_bmi (void)			__attribute__((__target__("no-bmi")));
+extern void test_no_mmx (void)			__attribute__((__target__("no-mmx")));
+extern void test_no_pclmul (void)		__attribute__((__target__("no-pclmul")));
+extern void test_no_popcnt (void)		__attribute__((__target__("no-popcnt")));
+extern void test_no_recip (void)		__attribute__((__target__("no-recip")));
+extern void test_no_sse (void)			__attribute__((__target__("no-sse")));
+extern void test_no_sse2 (void)			__attribute__((__target__("no-sse2")));
+extern void test_no_sse3 (void)			__attribute__((__target__("no-sse3")));
+extern void test_no_sse4 (void)			__attribute__((__target__("no-sse4")));
+extern void test_no_sse4_1 (void)		__attribute__((__target__("no-sse4.1")));
+extern void test_no_sse4_2 (void)		__attribute__((__target__("no-sse4.2")));
+extern void test_no_sse4a (void)		__attribute__((__target__("no-sse4a")));
+extern void test_no_fma (void)			__attribute__((__target__("no-fma")));
+extern void test_no_fma4 (void)			__attribute__((__target__("no-fma4")));
+extern void test_no_xop (void)			__attribute__((__target__("no-xop")));
+extern void test_no_ssse3 (void)		__attribute__((__target__("no-ssse3")));
+extern void test_no_tbm (void)			__attribute__((__target__("no-tbm")));
+extern void test_no_avx (void)			__attribute__((__target__("no-avx")));
+extern void test_no_avx2 (void)   		__attribute__((__target__("no-avx2")));
+extern void test_no_avx512f (void)   		__attribute__((__target__("no-avx512f")));
+extern void test_no_avx512vl(void)		__attribute__((__target__("no-avx512vl")));
+extern void test_no_avx512bw(void)		__attribute__((__target__("no-avx512bw")));
+extern void test_no_avx512dq(void)		__attribute__((__target__("no-avx512dq")));
+extern void test_no_avx512er(void)		__attribute__((__target__("no-avx512er")));
+extern void test_bo_avx512pf(void)		__attribute__((__target__("no-avx512pf")));
+extern void test_no_avx512cd(void)		__attribute__((__target__("no-avx512cd")));
+extern void test_no_bmi (void)			__attribute__((__target__("no-bmi")));
+extern void test_no_bmi2 (void)			__attribute__((__target__("no-bmi2")));
+
+extern void test_arch_nocona (void)		__attribute__((__target__("arch=nocona")));
+extern void test_arch_core2 (void)		__attribute__((__target__("arch=core2")));
+extern void test_arch_corei7 (void)		__attribute__((__target__("arch=corei7")));
+extern void test_arch_corei7_avx (void)		__attribute__((__target__("arch=corei7-avx")));
+extern void test_arch_core_avx2 (void)		__attribute__((__target__("arch=core-avx2")));
+extern void test_arch_knl (void)		__attribute__((__target__("arch=knl")));
+extern void test_arch_skylake_avx512 (void)	__attribute__((__target__("arch=skylake-avx512")));
+extern void test_arch_k8 (void)			__attribute__((__target__("arch=k8")));
+extern void test_arch_k8_sse3 (void)		__attribute__((__target__("arch=k8-sse3")));
+extern void test_arch_opteron (void)		__attribute__((__target__("arch=opteron")));
+extern void test_arch_opteron_sse3 (void)	__attribute__((__target__("arch=opteron-sse3")));
+extern void test_arch_athlon64 (void)		__attribute__((__target__("arch=athlon64")));
+extern void test_arch_athlon64_sse3 (void)	__attribute__((__target__("arch=athlon64-sse3")));
+extern void test_arch_athlon_fx (void)		__attribute__((__target__("arch=athlon-fx")));
+extern void test_arch_amdfam10 (void)		__attribute__((__target__("arch=amdfam10")));
+extern void test_arch_barcelona (void)		__attribute__((__target__("arch=barcelona")));
+extern void test_arch_bdver1 (void)		__attribute__((__target__("arch=bdver1")));
+extern void test_arch_bdver2 (void)		__attribute__((__target__("arch=bdver2")));
+extern void test_arch_bdver3 (void)		__attribute__((__target__("arch=bdver3")));
+
+extern void test_tune_nocona (void)		__attribute__((__target__("tune=nocona")));
+extern void test_tune_core2 (void)		__attribute__((__target__("tune=core2")));
+extern void test_tune_corei7 (void)		__attribute__((__target__("tune=corei7")));
+extern void test_tune_corei7_avx (void)		__attribute__((__target__("tune=corei7-avx")));
+extern void test_tune_core_avx2 (void)		__attribute__((__target__("tune=core-avx2")));
+extern void test_tune_k8 (void)			__attribute__((__target__("tune=k8")));
+extern void test_tune_k8_sse3 (void)		__attribute__((__target__("tune=k8-sse3")));
+extern void test_tune_opteron (void)		__attribute__((__target__("tune=opteron")));
+extern void test_tune_opteron_sse3 (void)	__attribute__((__target__("tune=opteron-sse3")));
+extern void test_tune_athlon64 (void)		__attribute__((__target__("tune=athlon64")));
+extern void test_tune_athlon64_sse3 (void)	__attribute__((__target__("tune=athlon64-sse3")));
+extern void test_tune_athlon_fx (void)		__attribute__((__target__("tune=athlon-fx")));
+extern void test_tune_amdfam10 (void)		__attribute__((__target__("tune=amdfam10")));
+extern void test_tune_barcelona (void)		__attribute__((__target__("tune=barcelona")));
+extern void test_tune_bdver1 (void)		__attribute__((__target__("tune=bdver1")));
+extern void test_tune_bdver2 (void)		__attribute__((__target__("tune=bdver2")));
+extern void test_tune_bdver3 (void)		__attribute__((__target__("tune=bdver3")));
+extern void test_tune_generic (void)		__attribute__((__target__("tune=generic")));
+
+extern void test_fpmath_sse (void)		__attribute__((__target__("sse2,fpmath=sse")));
+extern void test_fpmath_387 (void)		__attribute__((__target__("sse2,fpmath=387")));
+extern void test_fpmath_sse_387 (void)		__attribute__((__target__("sse2,fpmath=sse+387")));
+extern void test_fpmath_387_sse (void)		__attribute__((__target__("sse2,fpmath=387+sse")));
+extern void test_fpmath_both (void)		__attribute__((__target__("sse2,fpmath=both")));
Index: gcc.target/i386/funcspec-6.c
===================================================================
--- gcc.target/i386/funcspec-6.c	(revision 242427)
+++ gcc.target/i386/funcspec-6.c	(working copy)
@@ -2,75 +2,8 @@ 
    without error.  */
 /* { dg-do compile { target { ! ia32 } } } */
 
-extern void test_abm (void)			__attribute__((__target__("abm")));
-extern void test_aes (void)			__attribute__((__target__("aes")));
-extern void test_bmi (void)			__attribute__((__target__("bmi")));
-extern void test_mmx (void)			__attribute__((__target__("mmx")));
-extern void test_pclmul (void)			__attribute__((__target__("pclmul")));
-extern void test_popcnt (void)			__attribute__((__target__("popcnt")));
-extern void test_recip (void)			__attribute__((__target__("recip")));
-extern void test_sse (void)			__attribute__((__target__("sse")));
-extern void test_sse2 (void)			__attribute__((__target__("sse2")));
-extern void test_sse3 (void)			__attribute__((__target__("sse3")));
-extern void test_sse4 (void)			__attribute__((__target__("sse4")));
-extern void test_sse4_1 (void)			__attribute__((__target__("sse4.1")));
-extern void test_sse4_2 (void)			__attribute__((__target__("sse4.2")));
-extern void test_sse4a (void)			__attribute__((__target__("sse4a")));
-extern void test_fma4 (void)			__attribute__((__target__("fma4")));
-extern void test_ssse3 (void)			__attribute__((__target__("ssse3")));
-extern void test_tbm (void)			__attribute__((__target__("tbm")));
-extern void test_avx (void)			__attribute__((__target__("avx")));
-extern void test_avx2 (void)			__attribute__((__target__("avx2")));
+#include "funcspec-56.inc"
 
-extern void test_no_abm (void)			__attribute__((__target__("no-abm")));
-extern void test_no_aes (void)			__attribute__((__target__("no-aes")));
-extern void test_no_bmi (void)			__attribute__((__target__("no-bmi")));
-extern void test_no_mmx (void)			__attribute__((__target__("no-mmx")));
-extern void test_no_pclmul (void)		__attribute__((__target__("no-pclmul")));
-extern void test_no_popcnt (void)		__attribute__((__target__("no-popcnt")));
-extern void test_no_recip (void)		__attribute__((__target__("no-recip")));
-extern void test_no_sse (void)			__attribute__((__target__("no-sse")));
-extern void test_no_sse2 (void)			__attribute__((__target__("no-sse2")));
-extern void test_no_sse3 (void)			__attribute__((__target__("no-sse3")));
-extern void test_no_sse4 (void)			__attribute__((__target__("no-sse4")));
-extern void test_no_sse4_1 (void)		__attribute__((__target__("no-sse4.1")));
-extern void test_no_sse4_2 (void)		__attribute__((__target__("no-sse4.2")));
-extern void test_no_sse4a (void)		__attribute__((__target__("no-sse4a")));
-extern void test_no_fma4 (void)			__attribute__((__target__("no-fma4")));
-extern void test_no_ssse3 (void)		__attribute__((__target__("no-ssse3")));
-extern void test_no_tbm (void)			__attribute__((__target__("no-tbm")));
-extern void test_no_avx (void)			__attribute__((__target__("no-avx")));
-extern void test_no_avx2 (void) 		__attribute__((__target__("no-avx2")));
-
-extern void test_arch_nocona (void)		__attribute__((__target__("arch=nocona")));
-extern void test_arch_core2 (void)		__attribute__((__target__("arch=core2")));
-extern void test_arch_k8 (void)			__attribute__((__target__("arch=k8")));
-extern void test_arch_k8_sse3 (void)		__attribute__((__target__("arch=k8-sse3")));
-extern void test_arch_opteron (void)		__attribute__((__target__("arch=opteron")));
-extern void test_arch_opteron_sse3 (void)	__attribute__((__target__("arch=opteron-sse3")));
-extern void test_arch_athlon64 (void)		__attribute__((__target__("arch=athlon64")));
-extern void test_arch_athlon64_sse3 (void)	__attribute__((__target__("arch=athlon64-sse3")));
-extern void test_arch_athlon_fx (void)		__attribute__((__target__("arch=athlon-fx")));
-extern void test_arch_amdfam10 (void)		__attribute__((__target__("arch=amdfam10")));
-extern void test_arch_barcelona (void)		__attribute__((__target__("arch=barcelona")));
 extern void test_arch_foo (void)		__attribute__((__target__("arch=foo"))); /* { dg-error "bad value" } */
 
-extern void test_tune_nocona (void)		__attribute__((__target__("tune=nocona")));
-extern void test_tune_core2 (void)		__attribute__((__target__("tune=core2")));
-extern void test_tune_k8 (void)			__attribute__((__target__("tune=k8")));
-extern void test_tune_k8_sse3 (void)		__attribute__((__target__("tune=k8-sse3")));
-extern void test_tune_opteron (void)		__attribute__((__target__("tune=opteron")));
-extern void test_tune_opteron_sse3 (void)	__attribute__((__target__("tune=opteron-sse3")));
-extern void test_tune_athlon64 (void)		__attribute__((__target__("tune=athlon64")));
-extern void test_tune_athlon64_sse3 (void)	__attribute__((__target__("tune=athlon64-sse3")));
-extern void test_tune_athlon_fx (void)		__attribute__((__target__("tune=athlon-fx")));
-extern void test_tune_amdfam10 (void)		__attribute__((__target__("tune=amdfam10")));
-extern void test_tune_barcelona (void)		__attribute__((__target__("tune=barcelona")));
-extern void test_tune_generic (void)		__attribute__((__target__("tune=generic")));
 extern void test_tune_foo (void)		__attribute__((__target__("tune=foo"))); /* { dg-error "bad value" } */
-
-extern void test_fpmath_sse (void)		__attribute__((__target__("sse2,fpmath=sse")));
-extern void test_fpmath_387 (void)		__attribute__((__target__("sse2,fpmath=387")));
-extern void test_fpmath_sse_387 (void)		__attribute__((__target__("sse2,fpmath=sse+387")));
-extern void test_fpmath_387_sse (void)		__attribute__((__target__("sse2,fpmath=387+sse")));
-extern void test_fpmath_both (void)		__attribute__((__target__("sse2,fpmath=both")));