Commit 86d13a05 by Segher Boessenkool Committed by Segher Boessenkool

rs6000: Fix pr69946.c testcase (PR85126)

After middle-end changes combine now gets fed different input, from
which it makes different (but just as efficient) code.  So remove the
test for particular asm output.


gcc/testsuite/
	PR target/85126
	* gcc.target/powerpc/pr69946: Adjust comment.  Remove
	scan-assembler-times clause.

From-SVN: r259036
parent 3bbeebd4
2018-04-03 Segher Boessenkool <segher@kernel.crashing.org>
PR target/85126
* gcc.target/powerpc/pr69946: Adjust comment. Remove
scan-assembler-times clause.
2018-04-03 Christophe Lyon <christophe.lyon@linaro.org> 2018-04-03 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/arm/armv8_2-fp16-move-1.c: Move -mfloat-abi=hard to * gcc.target/arm/armv8_2-fp16-move-1.c: Move -mfloat-abi=hard to
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
/* { dg-skip-if "" { powerpc_elfv2 } } */ /* { dg-skip-if "" { powerpc_elfv2 } } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
/* This generates a rotate:DI by 44, with mask 0xf00, which is implemented /* This used to generate a rotate:DI by 44, with mask 0xf00, which is
using a rlwinm instruction. We used to write 44 for the shift count implemented using a rlwinm instruction. We used to write 44 for the
there; it should be 12. */ shift count there; it should be 12. */
struct A struct A
{ {
...@@ -35,4 +35,3 @@ foo (void) ...@@ -35,4 +35,3 @@ foo (void)
} }
/* { dg-final { scan-assembler-not {(?n)rlwinm.*,44,20,23} } } */ /* { dg-final { scan-assembler-not {(?n)rlwinm.*,44,20,23} } } */
/* { dg-final { scan-assembler-times {(?n)rlwinm.*,12,20,23} 1 } } */
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