aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2008-09-03 22:08:03 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2008-09-03 15:08:03 -0700
commit92f9cde563c1d16b8b0ffe955508e8ad94e1c559 (patch)
tree28021b4430f68f52519a916f7b04551ae7f18ff5 /gcc/testsuite
parent31607de1b1f4230cf870531ce4ca11b24fad287a (diff)
downloadgcc-92f9cde563c1d16b8b0ffe955508e8ad94e1c559.zip
gcc-92f9cde563c1d16b8b0ffe955508e8ad94e1c559.tar.gz
gcc-92f9cde563c1d16b8b0ffe955508e8ad94e1c559.tar.bz2
vector-4.c: Add -mavx for x86.
2008-09-03 H.J. Lu <hongjiu.lu@intel.com> * gcc.c-torture/compile/vector-4.c: Add -mavx for x86. * gcc.target/i386/avx-3.c: Require DFP support. From-SVN: r139960
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/vector-4.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/avx-3.c1
3 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b1d9324..9fa65ed 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.c-torture/compile/vector-4.c: Add -mavx for x86.
+
+ * gcc.target/i386/avx-3.c: Require DFP support.
+
2008-09-03 Jakub Jelinek <jakub@redhat.com>
PR c++/37348
diff --git a/gcc/testsuite/gcc.c-torture/compile/vector-4.c b/gcc/testsuite/gcc.c-torture/compile/vector-4.c
index b0d8e81..2f1fa35 100644
--- a/gcc/testsuite/gcc.c-torture/compile/vector-4.c
+++ b/gcc/testsuite/gcc.c-torture/compile/vector-4.c
@@ -1,3 +1,5 @@
+/* { dg-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */
+
/* Make sure that vector of size 8 of signed char works. This used to crash with AVX on x86
as we would produce try to extract the chars inside the vector mode using the vector mode of V8SI
which was wrong. */
diff --git a/gcc/testsuite/gcc.target/i386/avx-3.c b/gcc/testsuite/gcc.target/i386/avx-3.c
index 9e0b434..6a180fa 100644
--- a/gcc/testsuite/gcc.target/i386/avx-3.c
+++ b/gcc/testsuite/gcc.target/i386/avx-3.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-require-effective-target dfp } */
/* { dg-options "-O2 -mavx -std=gnu99" } */
_Decimal128