PR target/29169
* gcc.target/i386/sse-21.c: Rename from sse3-not-fisttp.c.
(dg-options): Add -mfpmath=387.
From-SVN: r117171
+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
--- /dev/null
+/* Test that we don't generate a fisttp instruction when -mno-sse3. */
+/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
+/* { dg-options "-O -mfpmath=387 -march=nocona -mno-sse3" } */
+/* { dg-final { scan-assembler-not "fisttp" } } */
+struct foo
+{
+ long a;
+ long b;
+};
+
+extern double c;
+
+extern unsigned long long baz (void);
+
+int
+walrus (const struct foo *input)
+{
+ unsigned long long d;
+
+ d = baz ()
+ + (unsigned long long) (((double) input->a * 1000000000
+ + (double) input->b) * c);
+ return (d ? 1 : 0);
+}
+++ /dev/null
-/* 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-final { scan-assembler-not "fisttp" } } */
-struct foo
-{
- long a;
- long b;
-};
-
-extern double c;
-
-extern unsigned long long baz (void);
-
-int
-walrus (const struct foo *input)
-{
- unsigned long long d;
-
- d = baz ()
- + (unsigned long long) (((double) input->a * 1000000000
- + (double) input->b) * c);
- return (d ? 1 : 0);
-}