From d4d7a132ab59631092fc0114f1518338e7b85ef4 Mon Sep 17 00:00:00 2001
From: Uros Bizjak <uros@kss-loka.si>
Date: Sat, 23 Sep 2006 16:40:07 +0200
Subject: [PATCH] re PR target/29169 (sse3-not-fisttp.c scan-assembler-not
 fisttp FAILs on i386-pc-solaris2.10)

        PR target/29169
        * gcc.target/i386/sse-21.c: Rename from sse3-not-fisttp.c.
        (dg-options): Add -mfpmath=387.

From-SVN: r117171
---
 gcc/testsuite/ChangeLog                                     | 6 ++++++
 .../gcc.target/i386/{sse3-not-fisttp.c => sse-21.c}         | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
 rename gcc/testsuite/gcc.target/i386/{sse3-not-fisttp.c => sse-21.c} (88%)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e6c4a117b31d..7ab082687fff 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-23  Uros Bizjak  <uros@kss-loka.si>
+
+	PR target/29169
+	* gcc.target/i386/sse-21.c: Rename from sse3-not-fisttp.c.
+	(dg-options): Add -mfpmath=387.
+
 2006-09-23  Jakub Jelinek  <jakub@redhat.com>
 
 	PR c/28706
diff --git a/gcc/testsuite/gcc.target/i386/sse3-not-fisttp.c b/gcc/testsuite/gcc.target/i386/sse-21.c
similarity index 88%
rename from gcc/testsuite/gcc.target/i386/sse3-not-fisttp.c
rename to gcc/testsuite/gcc.target/i386/sse-21.c
index 2f3261ac598b..119cc94c3187 100644
--- a/gcc/testsuite/gcc.target/i386/sse3-not-fisttp.c
+++ b/gcc/testsuite/gcc.target/i386/sse-21.c
@@ -1,6 +1,6 @@
 /* Test that we don't generate a fisttp instruction when -mno-sse3.  */
 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
-/* { dg-options "-O -march=nocona -mno-sse3" } */
+/* { dg-options "-O -mfpmath=387 -march=nocona -mno-sse3" } */
 /* { dg-final { scan-assembler-not "fisttp" } } */
 struct foo
 {
-- 
GitLab