Commit fee21d65 by Dominik Vogt Committed by Andreas Krebbel

S/390: Xfail some tests in insv-[12].c.

The attached patch XFAILs some of the "insv" testcases as
discussed internally.  Tested on s390x biarch and s390.

gcc/testsuite/ChangeLog:

2016-07-20  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	* gcc.target/s390/insv-1.c: Xfail some tests.
	* gcc.target/s390/insv-2.c: Likewise.

From-SVN: r238530
parent dd4786fe
2016-07-20 Dominik Vogt <vogt@linux.vnet.ibm.com>
* gcc.target/s390/insv-1.c: Xfail some tests.
* gcc.target/s390/insv-2.c: Likewise.
2016-07-20 Georg-Johann Lay <avr@gjlay.de>
* gcc.target/avr/torture/get-mem.c: New test.
......
......@@ -108,4 +108,11 @@ foo4c (unsigned long a, unsigned long b)
#endif
}
/* { dg-final { scan-assembler-times "risbg" 6 } } */
/* The functions foo3, foo4, foo3b, foo4b no longer use risbg but rosbg instead.
On s390x, four risbg go away and four new ones appear in other functions ...
{ dg-final { scan-assembler-times "risbg" 6 { target { s390x-*-* } } } }
but not on s390.
{ dg-final { scan-assembler-times "risbg" 2 { target { s390-*-* } } } }
*/
......@@ -108,4 +108,17 @@ foo4c (unsigned long a, unsigned long b)
#endif
}
/* { dg-final { scan-assembler-times "risbgn" 6 } } */
/* The functions foo3, foo4, foo3b, foo4b no longer use risbgn but rosbg instead
which is slightly worse. Combine prefers to use the simpler two insn
combinations possible with rosbg instead of the more complicated three insn
combinations that result in risbgn. This problem has been introduced with
the commit
S/390: Add patterns for r<nox>sbg instructions.
(3rd of May, 2016). This should be fixed some time in the future, but for
now just adapt the expected result:
{ dg-final { scan-assembler-times "risbgn" 6 { xfail { *-*-* } } } }
{ dg-final { scan-assembler-times "risbgn" 2 } }
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment