Compile gcc.dg/vect/pr68305.c with -mavx2 for x86 target
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 18 Dec 2015 16:51:00 +0000 (16:51 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 18 Dec 2015 16:51:00 +0000 (08:51 -0800)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr68305.c

index 89983e1a9e876582c5476fc8e9d379b4eba319d1..6419d0ee800f70683fe79d81606c6b6d79e48d9f 100644 (file)
@@ -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.
index fde3db723cc7a8d594e6847fa396a0bc6f8900b0..12297a934ff89a4df3f60bd38f58dee6d536d07f 100644 (file)
@@ -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;