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
This commit is contained in:
Segher Boessenkool 2018-04-03 17:38:43 +02:00 committed by Segher Boessenkool
parent 3bbeebd4d1
commit 86d13a05fd
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
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>
* gcc.target/arm/armv8_2-fp16-move-1.c: Move -mfloat-abi=hard to

View File

@ -2,9 +2,9 @@
/* { dg-skip-if "" { powerpc_elfv2 } } */
/* { dg-options "-O2" } */
/* This generates a rotate:DI by 44, with mask 0xf00, which is implemented
using a rlwinm instruction. We used to write 44 for the shift count
there; it should be 12. */
/* This used to generate a rotate:DI by 44, with mask 0xf00, which is
implemented using a rlwinm instruction. We used to write 44 for the
shift count there; it should be 12. */
struct A
{
@ -35,4 +35,3 @@ foo (void)
}
/* { dg-final { scan-assembler-not {(?n)rlwinm.*,44,20,23} } } */
/* { dg-final { scan-assembler-times {(?n)rlwinm.*,12,20,23} 1 } } */