From 8d31b48b48e6c7ae94b7581f8ecc680c39710e0f Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 2 Nov 2011 13:06:39 +0100 Subject: [PATCH] avx-cvt-2.c (dg-options): Add -mtune=generic. * gcc.target/i386/avx-cvt-2.c (dg-options): Add -mtune=generic. * gcc.target/i386/avx2-cvt-2.c (dg-options): Ditto. * gcc.target/i386/sse2-cvt-2.c (dg-options): Ditto. * gcc.target/i386/vectorize4-avx.c (dg-final): Remove xfail *-*-*. From-SVN: r180769 --- gcc/testsuite/ChangeLog | 10 +++++++++- gcc/testsuite/gcc.target/i386/avx-cvt-2.c | 2 +- gcc/testsuite/gcc.target/i386/avx2-cvt-2.c | 2 +- gcc/testsuite/gcc.target/i386/sse2-cvt-2.c | 2 +- gcc/testsuite/gcc.target/i386/vectorize4-avx.c | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 389dfd4f560..7d7c8034efc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2011-11-02 Uros Bizjak + + * gcc.target/i386/avx-cvt-2.c (dg-options): Add -mtune=generic. + * gcc.target/i386/avx2-cvt-2.c (dg-options): Ditto. + * gcc.target/i386/sse2-cvt-2.c (dg-options): Ditto. + + * gcc.target/i386/vectorize4-avx.c (dg-final): Remove xfail *-*-*. + 2011-11-02 Richard Guenther PR tree-optimization/50902 @@ -85,7 +93,7 @@ 2011-10-28 Paolo Carlini Revert: - 2011-10-28 Paolo Carlini + 2011-10-28 Paolo Carlini PR c++/50864 * g++.dg/template/crash109.C: New. diff --git a/gcc/testsuite/gcc.target/i386/avx-cvt-2.c b/gcc/testsuite/gcc.target/i386/avx-cvt-2.c index 78c6398f341..68206f5a0e7 100644 --- a/gcc/testsuite/gcc.target/i386/avx-cvt-2.c +++ b/gcc/testsuite/gcc.target/i386/avx-cvt-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -mavx -mno-avx2 -fdump-tree-vect-details" } */ +/* { dg-options "-O3 -mavx -mno-avx2 -mtune=generic -fdump-tree-vect-details" } */ #include "avx-cvt-1.c" diff --git a/gcc/testsuite/gcc.target/i386/avx2-cvt-2.c b/gcc/testsuite/gcc.target/i386/avx2-cvt-2.c index 288e5601a46..4826e9b6d05 100644 --- a/gcc/testsuite/gcc.target/i386/avx2-cvt-2.c +++ b/gcc/testsuite/gcc.target/i386/avx2-cvt-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -mavx2 -fdump-tree-vect-details" } */ +/* { dg-options "-O3 -mavx2 -mtune=generic -fdump-tree-vect-details" } */ #include "avx2-cvt-1.c" diff --git a/gcc/testsuite/gcc.target/i386/sse2-cvt-2.c b/gcc/testsuite/gcc.target/i386/sse2-cvt-2.c index 9c4519544ca..00f13254c22 100644 --- a/gcc/testsuite/gcc.target/i386/sse2-cvt-2.c +++ b/gcc/testsuite/gcc.target/i386/sse2-cvt-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -msse2 -mno-sse3 -fdump-tree-vect-details" } */ +/* { dg-options "-O3 -msse2 -mno-sse3 -mtune=generic -fdump-tree-vect-details" } */ #include "sse2-cvt-1.c" diff --git a/gcc/testsuite/gcc.target/i386/vectorize4-avx.c b/gcc/testsuite/gcc.target/i386/vectorize4-avx.c index 8e4a747a64b..33e99189373 100644 --- a/gcc/testsuite/gcc.target/i386/vectorize4-avx.c +++ b/gcc/testsuite/gcc.target/i386/vectorize4-avx.c @@ -11,4 +11,4 @@ calc_freq (int *dest) dest[i] = sqrt (tmp_out[i]); } -/* { dg-final { scan-assembler "vsqrtpd\[ \\t\]+\[^\n\]*%ymm" { xfail *-*-* } } } */ +/* { dg-final { scan-assembler "vsqrtpd\[ \\t\]+\[^\n\]*%ymm" } } */