From: H.J. Lu Date: Fri, 18 Dec 2015 16:51:00 +0000 (+0000) Subject: Compile gcc.dg/vect/pr68305.c with -mavx2 for x86 target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a012998e615e7ff43642d4de100cf4e3c369212c;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 89983e1a9e8..6419d0ee800 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-12-18 H.J. Lu + + * gcc.dg/vect/pr68305.c (dg-additional-options): Add -mavx2 + for x86 target. + 2015-12-18 Nathan Sidwell * 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 fde3db723cc..12297a934ff 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;