From 340d34bf76dd9455ab07ea849168bf2503d5edef Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 27 Aug 2019 19:37:03 +0200 Subject: [PATCH] sse4_1-round-roundeven-1.c (dg-options): Add -mfpmath=sse. * gcc.target/i386/sse4_1-round-roundeven-1.c (dg-options): Add -mfpmath=sse. * gcc.target/i386/sse4_1-round-roundeven-2.c (dg-options): Ditto. From-SVN: r274964 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-1.c | 2 +- gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-2.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c9185e5f108..a8149f70fce 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-08-27 Uroš Bizjak + + * gcc.target/i386/sse4_1-round-roundeven-1.c (dg-options): + Add -mfpmath=sse. + * gcc.target/i386/sse4_1-round-roundeven-2.c (dg-options): Ditto. + 2019-08-27 Uroš Bizjak PR target/91528 diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-1.c b/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-1.c index 36332630618..778063e74be 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-1.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -msse4.1" } */ +/* { dg-options "-O2 -msse4.1 -mfpmath=sse" } */ __attribute__((noinline, noclone)) double f1 (double x) diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-2.c b/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-2.c index 9505796dafb..6715a2843b3 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-2.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-2.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target sse4 } */ -/* { dg-options "-O2 -msse4.1" } */ +/* { dg-options "-O2 -msse4.1 -mfpmath=sse" } */ #include "sse4_1-check.h" #include "sse4_1-round-roundeven-1.c" -- 2.30.2