Add PR64895 xfails in i386/fuse-caller-save*.c
authorTom de Vries <tom@codesourcery.com>
Mon, 16 Mar 2015 10:11:11 +0000 (10:11 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 16 Mar 2015 10:11:11 +0000 (10:11 +0000)
2015-03-16  Tom de Vries  <tom@codesourcery.com>

* gcc.target/i386/fuse-caller-save-rec.c: Add PR64895 xfail on scans.
* gcc.target/i386/fuse-caller-save-xmm.c: Same.
* gcc.target/i386/fuse-caller-save.c: Same.

From-SVN: r221452

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/fuse-caller-save-rec.c
gcc/testsuite/gcc.target/i386/fuse-caller-save-xmm.c
gcc/testsuite/gcc.target/i386/fuse-caller-save.c

index d68e7a02f979d29f4887df770b2773fabbc4cc3c..96f81d107caae380524f9201e93ff38e35992112 100644 (file)
@@ -1,3 +1,9 @@
+2015-03-16  Tom de Vries  <tom@codesourcery.com>
+
+       * gcc.target/i386/fuse-caller-save-rec.c: Add PR64895 xfail on scans.
+       * gcc.target/i386/fuse-caller-save-xmm.c: Same.
+       * gcc.target/i386/fuse-caller-save.c: Same.
+
 2015-03-16  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gnat.dg/loop_optimization18.ad[sb]: New test.
index c660e014386097ba096989000de73a0bfad5c3c8..7abcf91e26dd8ae739be12f56322ea4847c337d9 100644 (file)
@@ -18,12 +18,14 @@ foo (int y)
   return y + bar (y);
 }
 
+/* For !nonpic && ia32 xfails, see PR64895.  */
+
 /* Check that no registers are saved/restored. */
-/* { dg-final { scan-assembler-not "push"  } } */
-/* { dg-final { scan-assembler-not "pop"  } } */
+/* { dg-final { scan-assembler-not "push" { xfail { { ! nonpic } && ia32 } } } } */
+/* { dg-final { scan-assembler-not "pop" { xfail { { ! nonpic } && ia32 } } } } */
 
 /* Check that addition uses dx. */
-/* { dg-final { scan-assembler-times "addl\t%\[re\]?dx, %\[re\]?ax" 1 } } */
+/* { dg-final { scan-assembler-times "addl\t%\[re\]?dx, %\[re\]?ax" 1 { xfail { { ! nonpic } && ia32 } } } } */
 
 /* Verify that bar is self-recursive.  */
 /* { dg-final { scan-assembler-times "call\t_?bar" 2 } } */
index 1d02844a9cbf47bf9751adee4f52cb3e4ded587c..c2d0544d665ddf68f4103fe1445d37fbc513ec45 100644 (file)
@@ -15,11 +15,13 @@ foo (v2df y)
   return y + bar (y);
 }
 
+/* For !nonpic && ia32 xfails, see PR64895.  */
+
 /* Check presence of all insns on xmm registers.  These checks are expected to
    pass with both -fipa-ra and -fno-ipa-ra.  */
 /* { dg-final { scan-assembler-times "addpd\t\\.?LC0.*, %xmm0" 1 } } */
-/* { dg-final { scan-assembler-times "addpd\t%xmm1, %xmm0" 1 } } */
-/* { dg-final { scan-assembler-times "movapd\t%xmm0, %xmm1" 1 } } */
+/* { dg-final { scan-assembler-times "addpd\t%xmm1, %xmm0" 1 { xfail { { ! nonpic } && ia32 } } } } */
+/* { dg-final { scan-assembler-times "movapd\t%xmm0, %xmm1" 1 { xfail { { ! nonpic } && ia32 } } } } */
 
 /* Check absence of save/restore of xmm1 register.  */
 /* { dg-final { scan-assembler-not "movaps\t%xmm1, \\(%\[re\]?sp\\)" } } */
index 7cfd22afeb2600e063ad804fd355ae692244a6c4..4b8e68d90f508ce000c4bf96f8d6a5d74a4002e0 100644 (file)
@@ -16,9 +16,11 @@ foo (int y)
   return y + bar (y);
 }
 
+/* For !nonpic && ia32 xfails, see PR64895.  */
+
 /* Check that no registers are saved/restored. */
-/* { dg-final { scan-assembler-not "push"  } } */
-/* { dg-final { scan-assembler-not "pop"  } } */
+/* { dg-final { scan-assembler-not "push" { xfail { { ! nonpic } && ia32 } } } } */
+/* { dg-final { scan-assembler-not "pop" { xfail { { ! nonpic } && ia32 } } } } */
 
 /* PR61605.  If the first argument register and the return register differ, then
    bar leaves the first argument register intact.  That means in foo that the
@@ -29,4 +31,4 @@ foo (int y)
 /* { dg-final { scan-assembler-not "movl" { target { ! ia32 } } } } */
 
 /* Check that addition uses di (in case of no copy) or dx (in case of copy). */
-/* { dg-final { scan-assembler-times "addl\t%\[re\]?d\[ix\], %\[re\]?ax" 1 } } */
+/* { dg-final { scan-assembler-times "addl\t%\[re\]?d\[ix\], %\[re\]?ax" 1 { xfail { { ! nonpic } && ia32 } } } } */