aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2008-12-14 20:51:03 +0100
committerUros Bizjak <uros@gcc.gnu.org>2008-12-14 20:51:03 +0100
commitef7e6df5d66a5c54e8f5b1bca9ab5fa4f6101da3 (patch)
tree5cc125e986330b7fabd7a95ac107c5a99fa4f3e1
parent18dd272dfd6b077c005f4e1a0a6cb4ffa906bed4 (diff)
downloadgcc-ef7e6df5d66a5c54e8f5b1bca9ab5fa4f6101da3.zip
gcc-ef7e6df5d66a5c54e8f5b1bca9ab5fa4f6101da3.tar.gz
gcc-ef7e6df5d66a5c54e8f5b1bca9ab5fa4f6101da3.tar.bz2
i386-5.C: Include x86intrin.h.
* g++.dg/other/i386-5.C: Include x86intrin.h. * g++.dg/other/i386-6.C: Ditto. From-SVN: r142752
-rw-r--r--gcc/testsuite/ChangeLog2
-rw-r--r--gcc/testsuite/g++.dg/other/i386-5.C9
-rw-r--r--gcc/testsuite/g++.dg/other/i386-6.C7
3 files changed, 7 insertions, 11 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0ff2a04..61a9bce 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -27,6 +27,8 @@
(dg-options): Use -mavx instead of -msse4.
* g++.dg/other/i386-3.C: Include x86intrin.h.
(dg-options): Use -mavx instead of -msse4.
+ * g++.dg/other/i386-5.C: Include x86intrin.h.
+ * g++.dg/other/i386-6.C: Ditto.
2008-12-12 Uros Bizjak <ubizjak@gmail.com>
diff --git a/gcc/testsuite/g++.dg/other/i386-5.C b/gcc/testsuite/g++.dg/other/i386-5.C
index d9b5460..ffbd3f3 100644
--- a/gcc/testsuite/g++.dg/other/i386-5.C
+++ b/gcc/testsuite/g++.dg/other/i386-5.C
@@ -1,9 +1,6 @@
-/* Test that {,x,e,p,t,s,w,g,a,b}mmintrin.h, mm3dnow.h and mm_malloc.h are
+/* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, mm3dnow.h and mm_malloc.h are
usable with -O -fkeep-inline-functions. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
-/* { dg-options "-O -fkeep-inline-functions -march=k8 -m3dnow -maes -mpclmul -mavx -msse5" } */
+/* { dg-options "-O -fkeep-inline-functions -march=k8 -m3dnow -mavx -msse5 -maes -mpclmul" } */
-#include <wmmintrin.h>
-#include <bmmintrin.h>
-#include <immintrin.h>
-#include <mm3dnow.h>
+#include <x86intrin.h>
diff --git a/gcc/testsuite/g++.dg/other/i386-6.C b/gcc/testsuite/g++.dg/other/i386-6.C
index 15f1d52..2c3cd29 100644
--- a/gcc/testsuite/g++.dg/other/i386-6.C
+++ b/gcc/testsuite/g++.dg/other/i386-6.C
@@ -1,11 +1,8 @@
-/* Test that {,x,e,p,t,s,w,g,a,b}mmintrin.h, mm3dnow.h and mm_malloc.h are
+/* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, mm3dnow.h and mm_malloc.h are
usable with -O -pedantic-errors. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O -pedantic-errors -march=k8 -m3dnow -mavx -msse5 -maes -mpclmul" } */
-#include <wmmintrin.h>
-#include <bmmintrin.h>
-#include <immintrin.h>
-#include <mm3dnow.h>
+#include <x86intrin.h>
int dummy;