i386-5.C: Include x86intrin.h.
authorUros Bizjak <ubizjak@gmail.com>
Sun, 14 Dec 2008 19:51:03 +0000 (20:51 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 14 Dec 2008 19:51:03 +0000 (20:51 +0100)
* g++.dg/other/i386-5.C: Include x86intrin.h.
* g++.dg/other/i386-6.C: Ditto.

From-SVN: r142752

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/i386-5.C
gcc/testsuite/g++.dg/other/i386-6.C

index 0ff2a04..61a9bce 100644 (file)
@@ -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>
 
index d9b5460..ffbd3f3 100644 (file)
@@ -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>
index 15f1d52..2c3cd29 100644 (file)
@@ -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;