diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2015-12-18 16:51:00 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2015-12-18 08:51:00 -0800 |
commit | a012998e615e7ff43642d4de100cf4e3c369212c (patch) | |
tree | ade0ce65af392122466d61d54b3ddd2039268942 /gcc | |
parent | 03d5d0c353ce5a9d09354e38ac30b789842c91f9 (diff) | |
download | gcc-a012998e615e7ff43642d4de100cf4e3c369212c.zip gcc-a012998e615e7ff43642d4de100cf4e3c369212c.tar.gz gcc-a012998e615e7ff43642d4de100cf4e3c369212c.tar.bz2 |
Compile gcc.dg/vect/pr68305.c with -mavx2 for x86 target
Since gcc.dg/vect/pr68305.c is a compile test, we should add -mavx2 for
x86 target.
* gcc.dg/vect/pr68305.c (dg-additional-options): Add -mavx2
for x86 target.
From-SVN: r231820
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/pr68305.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 89983e1..6419d0e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-12-18 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.dg/vect/pr68305.c (dg-additional-options): Add -mavx2 + for x86 target. + 2015-12-18 Nathan Sidwell <nathan@acm.org> * c-c++-common/attr-simd-3.c: Requires pthreads. diff --git a/gcc/testsuite/gcc.dg/vect/pr68305.c b/gcc/testsuite/gcc.dg/vect/pr68305.c index fde3db7..12297a93 100644 --- a/gcc/testsuite/gcc.dg/vect/pr68305.c +++ b/gcc/testsuite/gcc.dg/vect/pr68305.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-additional-options "-O3" } */ -/* { dg-additional-options "-mavx2" { target avx_runtime } } */ +/* { dg-additional-options "-mavx2" { target { i?86-*-* x86_64-*-* } } } */ int a, b; |