aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/testsuite/gcc.target/i386/fma-check.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/testsuite/gcc.target/i386/fma-check.h')
-rw-r--r--gcc-4.8/gcc/testsuite/gcc.target/i386/fma-check.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc-4.8/gcc/testsuite/gcc.target/i386/fma-check.h b/gcc-4.8/gcc/testsuite/gcc.target/i386/fma-check.h
deleted file mode 100644
index 8390f5088..000000000
--- a/gcc-4.8/gcc/testsuite/gcc.target/i386/fma-check.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <stdlib.h>
-
-#include "cpuid.h"
-
-static void fma_test (void);
-
-static void __attribute__ ((noinline)) do_test (void)
-{
- fma_test ();
-}
-
-int
-main ()
-{
- unsigned int eax, ebx, ecx, edx;
-
- if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
- return 0;
-
- /* Run FMA test only if host has FMA support. */
- if (ecx & bit_FMA)
- do_test ();
-
- return 0;
-}