From: H.J. Lu Date: Wed, 3 Sep 2008 22:08:03 +0000 (+0000) Subject: vector-4.c: Add -mavx for x86. X-Git-Tag: releases/gcc-4.4.0~2659 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92f9cde563c1d16b8b0ffe955508e8ad94e1c559;p=thirdparty%2Fgcc.git vector-4.c: Add -mavx for x86. 2008-09-03 H.J. Lu * gcc.c-torture/compile/vector-4.c: Add -mavx for x86. * gcc.target/i386/avx-3.c: Require DFP support. From-SVN: r139960 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b1d932467680..9fa65ed0dc69 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-09-03 H.J. Lu + + * 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 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 b0d8e81c82dd..2f1fa359e6bb 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 9e0b434aef5c..6a180fa883e0 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