From a688356b12440e1d0e16d41c595a2bb390d3f51f Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 24 Mar 2019 20:39:59 +0100 Subject: [PATCH] pr82281.c: Compile only for ia32 effective target. * gcc.target/i386/pr82281.c: Compile only for ia32 effective target. (dg-options): Remove -m32. Add -msse2 -mtune=znver1. * gcc.target/i386/pr89676.c: Compile only for ia32 effective target. (dg-options): Remove -m32 and -march=i686. Add -mno-stv. From-SVN: r269900 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.target/i386/pr82281.c | 7 +++++-- gcc/testsuite/gcc.target/i386/pr89676.c | 5 +++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7d2a0b1797f..db179fa4cef 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-03-24 Uroš Bizjak + + * gcc.target/i386/pr82281.c: Compile only for ia32 effective target. + (dg-options): Remove -m32. Add -msse2 -mtune=znver1. + * gcc.target/i386/pr89676.c: Compile only for ia32 effective target. + (dg-options): Remove -m32 and -march=i686. Add -mno-stv. + 2019-03-24 Thomas Koenig PR fortran/78865 diff --git a/gcc/testsuite/gcc.target/i386/pr82281.c b/gcc/testsuite/gcc.target/i386/pr82281.c index d65e0ae2376..3c4234ee227 100644 --- a/gcc/testsuite/gcc.target/i386/pr82281.c +++ b/gcc/testsuite/gcc.target/i386/pr82281.c @@ -1,6 +1,9 @@ -/* { dg-do compile } */ -/* { dg-options "-O3 -m32" } */ +/* PR target/82281 */ +/* { dg-do compile { target ia32 } } */ +/* { dg-options "-O2 -msse2 -mtune=znver1" } */ + long long test_and(long long x) { return x & 0x77ffffffffULL; } + /* { dg-final { scan-assembler-not "xmm" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr89676.c b/gcc/testsuite/gcc.target/i386/pr89676.c index 90865d85865..164a9da4680 100644 --- a/gcc/testsuite/gcc.target/i386/pr89676.c +++ b/gcc/testsuite/gcc.target/i386/pr89676.c @@ -1,6 +1,7 @@ /* PR rtl-optimization/89676 */ -/* { dg-do compile } */ -/* { dg-options "-O2 -m32 -march=i686" } */ +/* { dg-do compile { target ia32 } } */ +/* { dg-options "-O2 -mno-stv" } */ + unsigned long long foo (unsigned long long i) { -- 2.30.2