From 5b194a34367fbbd8dc1fbe9bb802c77157c9f251 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 22 Feb 2018 22:27:44 +0100 Subject: [PATCH] re PR target/82851 (g++.dg/vect/slp-pr56812.cc, i386/avx2-vpaddq-3.c, i386/avx2-vpsubq-3.c fails) PR target/82851 * gcc.target/i386/avx2-vpaddq-3.c: Add -mtune=generic to dg-options. * gcc.target/i386/avx2-vpsubq-3.c: Likewise. From-SVN: r257916 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/i386/avx2-vpaddq-3.c | 2 +- gcc/testsuite/gcc.target/i386/avx2-vpsubq-3.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 01ede00ba85..368b9809371 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-02-22 Jakub Jelinek + + PR target/82851 + * gcc.target/i386/avx2-vpaddq-3.c: Add -mtune=generic to dg-options. + * gcc.target/i386/avx2-vpsubq-3.c: Likewise. + 2018-02-22 Vladimir Makarov PR target/81572 diff --git a/gcc/testsuite/gcc.target/i386/avx2-vpaddq-3.c b/gcc/testsuite/gcc.target/i386/avx2-vpaddq-3.c index d9b861221f7..e5a8473abd4 100644 --- a/gcc/testsuite/gcc.target/i386/avx2-vpaddq-3.c +++ b/gcc/testsuite/gcc.target/i386/avx2-vpaddq-3.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-mavx2 -mno-prefer-avx128 -O2 -ftree-vectorize -save-temps" } */ +/* { dg-options "-mavx2 -mno-prefer-avx128 -O2 -ftree-vectorize -mtune=generic -save-temps" } */ /* { dg-require-effective-target avx2 } */ diff --git a/gcc/testsuite/gcc.target/i386/avx2-vpsubq-3.c b/gcc/testsuite/gcc.target/i386/avx2-vpsubq-3.c index 6f3ce1f0db9..3843932f4f7 100644 --- a/gcc/testsuite/gcc.target/i386/avx2-vpsubq-3.c +++ b/gcc/testsuite/gcc.target/i386/avx2-vpsubq-3.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-mavx2 -mno-prefer-avx128 -O2 -ftree-vectorize -save-temps" } */ +/* { dg-options "-mavx2 -mno-prefer-avx128 -O2 -ftree-vectorize -mtune=generic -save-temps" } */ /* { dg-require-effective-target avx2 } */ -- 2.30.2