summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-14 20:14:49 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-14 20:14:49 +0000
commit5e5482890def85e3e4f4a7c963dd807fc4a7de2e (patch)
tree6053632b646ed2452046125d1dc69ad0aef4f73a /gcc/testsuite/g++.dg/other
parent5410c7862ba8a6a9a69bb1063af83128390bee5c (diff)
downloadgcc-5e5482890def85e3e4f4a7c963dd807fc4a7de2e.tar.gz
* g++.dg/other/i386-2.C: Add -mpopcnt -mabm -mlwp to dg-options.
* g++.dg/other/i386-3.C: Ditto. * g++.dg/other/i386-5.C: Remove duplicated test. * g++.dg/other/i386-6.C: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155238 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/other')
-rw-r--r--gcc/testsuite/g++.dg/other/i386-2.C8
-rw-r--r--gcc/testsuite/g++.dg/other/i386-3.C8
-rw-r--r--gcc/testsuite/g++.dg/other/i386-5.C6
-rw-r--r--gcc/testsuite/g++.dg/other/i386-6.C8
4 files changed, 10 insertions, 20 deletions
diff --git a/gcc/testsuite/g++.dg/other/i386-2.C b/gcc/testsuite/g++.dg/other/i386-2.C
index 1ef6b2775d8..952fa14c364 100644
--- a/gcc/testsuite/g++.dg/other/i386-2.C
+++ b/gcc/testsuite/g++.dg/other/i386-2.C
@@ -1,7 +1,9 @@
-/* Test that {,x,e,p,t,s,w,a,i}mmintrin.h, fma4intrin.h, xopintrin.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 -msse4a -mfma4 -mxop -maes -mpclmul" } */
+/* { dg-options "-O -pedantic-errors -march=k8 -m3dnow -mavx -mxop -maes -mpclmul -mpopcnt -mabm -mlwp" } */
+
+/* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, xopintrin.h, abmintrin.h,
+ lwpintrin.h, popcntintrin.h and mm3dnow.h are usable with
+ -O -pedantic-errors. */
#include <x86intrin.h>
diff --git a/gcc/testsuite/g++.dg/other/i386-3.C b/gcc/testsuite/g++.dg/other/i386-3.C
index df33af8bbd9..88dd7693891 100644
--- a/gcc/testsuite/g++.dg/other/i386-3.C
+++ b/gcc/testsuite/g++.dg/other/i386-3.C
@@ -1,6 +1,8 @@
-/* Test that {,x,e,p,t,s,w,a,i}mmintrin.h, fma4intrin.h, mm3dnow.h, xopintrin.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 -mavx -msse4a -mfma4 -mxop -maes -mpclmul" } */
+/* { dg-options "-O -fkeep-inline-functions -march=k8 -m3dnow -mavx -mxop -maes -mpclmul -mpopcnt -mabm -mlwp" } */
+
+/* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, xopintrin.h, abmintrin.h,
+ lwpintrin.h, popcntintrin.h and mm3dnow.h are usable with
+ -O -fkeep-inline-functions. */
#include <x86intrin.h>
diff --git a/gcc/testsuite/g++.dg/other/i386-5.C b/gcc/testsuite/g++.dg/other/i386-5.C
deleted file mode 100644
index 383aae365bb..00000000000
--- a/gcc/testsuite/g++.dg/other/i386-5.C
+++ /dev/null
@@ -1,6 +0,0 @@
-/* Test that {,x,e,p,t,s,w,a,i}mmintrin.h, fma4intrin.h, xopintrin.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 -mavx -msse4a -mfma4 -mxop -maes -mpclmul" } */
-
-#include <x86intrin.h>
diff --git a/gcc/testsuite/g++.dg/other/i386-6.C b/gcc/testsuite/g++.dg/other/i386-6.C
deleted file mode 100644
index 2bd4609d671..00000000000
--- a/gcc/testsuite/g++.dg/other/i386-6.C
+++ /dev/null
@@ -1,8 +0,0 @@
-/* Test that {,x,e,p,t,s,w,a,i}mmintrin.h, fma4intrin.h, xopintrin.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 -msse4a -mfma4 -mxop -maes -mpclmul" } */
-
-#include <x86intrin.h>
-
-int dummy;