diff mbox

[SH,committed] Improve treg_set_expr matching

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

Commit Message

Oleg Endo Oct. 1, 2015, 12:39 p.m. UTC
On Mon, 2015-09-28 at 23:03 +0900, Oleg Endo wrote:
> Hi,
> 
> This patch has been hanging around in my queue for a while.  Basically,
> it uses reverse_condition to get better matching for treg_set_expr.
> Tested on sh-elf with
> make -k check RUNTESTFLAGS="--target_board=sh-sim
> \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"
> and no new failures.
> Committed as r228202.

Attached is a small follow up patch that fixes a typo in one of the
tests.  Committed as r228332.

Cheers,
Oleg

gcc/testsuite/ChangeLog:
	PR target/54236
	* gcc.target/sh/pr54236-6.c: Fix assembler-not string.
diff mbox

Patch

Index: gcc/testsuite/gcc.target/sh/pr54236-6.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr54236-6.c	(revision 228244)
+++ gcc/testsuite/gcc.target/sh/pr54236-6.c	(working copy)
@@ -14,7 +14,7 @@ 
 /* { dg-final { scan-assembler-times {tst	#1,r0} 1 } }  */
 /* { dg-final { scan-assembler-times {subc	r} 1 } }  */
 
-/* { dg-final { scan-assembler-not "movt|not|neg\movrt" } }  */
+/* { dg-final { scan-assembler-not "movt|not\t|neg\t|movrt" } }  */
 
 
 struct inode