diff mbox

[SH,committed] Adjust pr64345-1.c testcase for SH2A

Message ID 1442843561.2509.17.camel@t-online.de
State New
Headers show

Commit Message

Oleg Endo Sept. 21, 2015, 1:52 p.m. UTC
Hi,

There have been some changes to the generated bitfiddling code for SH2A
and the test case caught them.  Those changes are good, and the test
case can be adjusted accordingly.

Tested on sh-elf with
make -k check-gcc RUNTESTFLAGS="sh.exp --target_board=sh-sim\{-m2a/-mb}"

Committed as r227971.

Cheers,
Oleg

gcc/testsuite/ChangeLog:
	PR target/64345
	* gcc.target/sh/pr64345-1.c: Adjust expected insn counts for SH2A.
diff mbox

Patch

Index: gcc/testsuite/gcc.target/sh/pr64345-1.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr64345-1.c	(revision 227970)
+++ gcc/testsuite/gcc.target/sh/pr64345-1.c	(working copy)
@@ -10,10 +10,10 @@ 
 /* { dg-final { scan-assembler-times "shlr\t" 8 { target { ! sh2a } } } }  */
 
 /* { dg-final { scan-assembler-times "tst" 442 { target { sh2a } } } }  */
-/* { dg-final { scan-assembler-times "bld" 276 { target { sh2a } } } }  */
+/* { dg-final { scan-assembler-times "bld" 285 { target { sh2a } } } }  */
 /* { dg-final { scan-assembler-times "cmp/pz" 6 { target { sh2a } } } }  */
-/* { dg-final { scan-assembler-times "shll\t" 4 { target { sh2a } } } }  */
-/* { dg-final { scan-assembler-times "shlr\t" 8 { target { sh2a } } } }  */
+/* { dg-final { scan-assembler-times "shll\t" 3 { target { sh2a } } } }  */
+/* { dg-final { scan-assembler-times "shlr\t" 0 { target { sh2a } } } }  */
 
 /* { dg-final { scan-assembler-times "and\t#1" 32 } }  */