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
This commit is contained in:
H.J. Lu 2008-09-03 22:08:03 +00:00 committed by H.J. Lu
parent 31607de1b1
commit 92f9cde563
3 changed files with 9 additions and 0 deletions

View 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

View 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. */

View File

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-require-effective-target dfp } */
/* { dg-options "-O2 -mavx -std=gnu99" } */
_Decimal128