diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2008-12-13 15:10:28 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2008-12-13 15:10:28 +0100 |
commit | 98c62941ac9d061639ed4031c7a13faa757459a8 (patch) | |
tree | 8627d641ccba8e020a28262694d7d771499c4204 /gcc/testsuite/g++.dg | |
parent | 7581b88af9f621fa77e9d2a30889a85855d501c0 (diff) | |
download | gcc-98c62941ac9d061639ed4031c7a13faa757459a8.zip gcc-98c62941ac9d061639ed4031c7a13faa757459a8.tar.gz gcc-98c62941ac9d061639ed4031c7a13faa757459a8.tar.bz2 |
sse-12.c: Include x86intrin.h.
* gcc.target/i386/sse-12.c: Include x86intrin.h.
(dg-options): Use -mavx instead of -msse4. Add -maes -mpclmul.
* gcc.target/i386/sse-13.c: Include x86intrin.h. Define immintrin.h
intrinsics that require immediate arguments.
(dg-options): Use -mavx instead of -msse4.
* gcc.target/i386/sse-14.c: Include x86intrin.h. Define immintrin.h
intrinsics that require immediate arguments.
(test_3): New macro.
(dg-options): Use -mavx instead of -msse4.
* g++.dg/other/i386-2.C: Include x86intrin.h.
(dg-options): Use -mavx instead of -msse4.
* g++.dg/other/i386-3.C: Include x86intrin.h.
(dg-options): Use -mavx instead of -msse4.
From-SVN: r142739
Diffstat (limited to 'gcc/testsuite/g++.dg')
-rw-r--r-- | gcc/testsuite/g++.dg/other/i386-2.C | 9 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/other/i386-3.C | 9 |
2 files changed, 6 insertions, 12 deletions
diff --git a/gcc/testsuite/g++.dg/other/i386-2.C b/gcc/testsuite/g++.dg/other/i386-2.C index 57acdd3..2c3cd29 100644 --- a/gcc/testsuite/g++.dg/other/i386-2.C +++ b/gcc/testsuite/g++.dg/other/i386-2.C @@ -1,11 +1,8 @@ -/* Test that {,x,e,p,t,s,w,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 -msse4 -msse5 -maes -mpclmul" } */ +/* { dg-options "-O -pedantic-errors -march=k8 -m3dnow -mavx -msse5 -maes -mpclmul" } */ -#include <wmmintrin.h> -#include <bmmintrin.h> -#include <smmintrin.h> -#include <mm3dnow.h> +#include <x86intrin.h> int dummy; diff --git a/gcc/testsuite/g++.dg/other/i386-3.C b/gcc/testsuite/g++.dg/other/i386-3.C index a57bae3..ffbd3f3 100644 --- a/gcc/testsuite/g++.dg/other/i386-3.C +++ b/gcc/testsuite/g++.dg/other/i386-3.C @@ -1,9 +1,6 @@ -/* Test that {,x,e,p,t,s,w,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 -msse4 -msse5" } */ +/* { dg-options "-O -fkeep-inline-functions -march=k8 -m3dnow -mavx -msse5 -maes -mpclmul" } */ -#include <wmmintrin.h> -#include <bmmintrin.h> -#include <smmintrin.h> -#include <mm3dnow.h> +#include <x86intrin.h> |