diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2019-09-09 19:57:39 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2019-09-09 19:57:39 +0200 |
commit | 812b3c62a7c8b3c006196635d0da08acc5674d98 (patch) | |
tree | 3c2e10f1ec90be80109ca6d091c58fb7e0715f98 | |
parent | 3b63f5376ab350980d534107f8fd68ddae72ecdc (diff) | |
download | gcc-812b3c62a7c8b3c006196635d0da08acc5674d98.zip gcc-812b3c62a7c8b3c006196635d0da08acc5674d98.tar.gz gcc-812b3c62a7c8b3c006196635d0da08acc5674d98.tar.bz2 |
rs6000: Update rlwinm-[012].c
gcc/testsuite/
* gcc.target/powerpc/rlwinm-0.c: Adjust expected instruction counts.
* gcc.target/powerpc/rlwinm-1.c: Ditto.
* gcc.target/powerpc/rlwinm-2.c: Ditto.
From-SVN: r275525
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/rlwinm-0.c | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/rlwinm-1.c | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/rlwinm-2.c | 8 |
4 files changed, 18 insertions, 12 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6129f91..3d4ada8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-09-09 Segher Boessenkool <segher@kernel.crashing.org> + + * gcc.target/powerpc/rlwinm-0.c: Adjust expected instruction counts. + * gcc.target/powerpc/rlwinm-1.c: Ditto. + * gcc.target/powerpc/rlwinm-2.c: Ditto. + 2019-09-09 Barnaby Wilks <barnaby.wilks@arm.com> * gcc.dg/fold-binary-math-casts.c: New test. diff --git a/gcc/testsuite/gcc.target/powerpc/rlwinm-0.c b/gcc/testsuite/gcc.target/powerpc/rlwinm-0.c index 2940b62..4f4fca2 100644 --- a/gcc/testsuite/gcc.target/powerpc/rlwinm-0.c +++ b/gcc/testsuite/gcc.target/powerpc/rlwinm-0.c @@ -2,15 +2,15 @@ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 6739 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 9730 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 9716 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+blr} 3375 } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+rldicl} 3095 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+rldicl} 3081 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 3197 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 3094 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 3093 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+rotlwi} 154 } } */ /* { dg-final { scan-assembler-times {(?n)^\s+srwi} 13 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+srdi} 12 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+srdi} 13 { target lp64 } } } */ #define SL diff --git a/gcc/testsuite/gcc.target/powerpc/rlwinm-1.c b/gcc/testsuite/gcc.target/powerpc/rlwinm-1.c index 0fc08a6..4dfbd2e 100644 --- a/gcc/testsuite/gcc.target/powerpc/rlwinm-1.c +++ b/gcc/testsuite/gcc.target/powerpc/rlwinm-1.c @@ -2,14 +2,14 @@ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 6739 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 9606 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 9496 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+blr} 3375 } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+rldic} 2946 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+rldic} 2847 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 691 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 622 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 612 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+slwi} 11 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+slwi} 1 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+slwi} 0 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+mulli} 2662 { target ilp32 } } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/rlwinm-2.c b/gcc/testsuite/gcc.target/powerpc/rlwinm-2.c index 4087ac0..bddcfe2 100644 --- a/gcc/testsuite/gcc.target/powerpc/rlwinm-2.c +++ b/gcc/testsuite/gcc.target/powerpc/rlwinm-2.c @@ -2,14 +2,14 @@ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 6739 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 9466 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 9352 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+blr} 3375 } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+rldic} 2840 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+rldic} 2726 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 833 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 721 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 720 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+srwi} 13 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {(?n)^\s+srdi} 12 { target lp64 } } } */ +/* { dg-final { scan-assembler-times {(?n)^\s+srdi} 13 { target lp64 } } } */ /* { dg-final { scan-assembler-times {(?n)^\s+mulli} 2518 } } */ |