]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
vector-4.c: Add -mavx for x86.
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 3 Sep 2008 22:08:03 +0000 (22:08 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 3 Sep 2008 22:08:03 +0000 (15:08 -0700)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/vector-4.c
gcc/testsuite/gcc.target/i386/avx-3.c

index b1d932467680f92454a597b9e48ca11d8653d9f0..9fa65ed0dc699aeee5d12f96a2311a35897b7005 100644 (file)
@@ -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
index b0d8e81c82dddf40b11b4bac1715840bdcc57785..2f1fa359e6bb8d190a21f85248be29d79b4f2abe 100644 (file)
@@ -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. */
index 9e0b434aef5c710c699c46d738eba26023d81eb5..6a180fa883e05f5d4dc7f12857420778b936fc39 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target dfp } */
 /* { dg-options "-O2 -mavx -std=gnu99" } */
 
 _Decimal128