From 0e3f85e837921528fc5fc34e5a836588607fdf8f Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 3 Mar 1989 11:10:13 +0000 Subject: [PATCH] Added some patterns --- mach/m68020/top/table | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mach/m68020/top/table b/mach/m68020/top/table index b0132cdec..2031bcaa2 100644 --- a/mach/m68020/top/table +++ b/mach/m68020/top/table @@ -39,6 +39,7 @@ add.l #4,sp : tst.l D {no_part("sp",D)} -> move.l D,(sp)+ ; add.l #2,sp : move.w X,-(sp) -> move.w X,(sp) ; add.l #4,sp : move.l X,-(sp) -> move.l X,(sp) ; add.l #4,sp : pea (NUM) -> move.l #NUM,(sp) ; +add.l #4,sp : pea (AREG) -> move.l AREG,(sp) ; add.l #NUM,sp : unlk AREG -> unlk AREG ; add.l #NUM,sp : movem.l X,Y : unlk AREG {no_part("sp",X) && no_part("sp",Y)} -> movem.l X,Y : unlk AREG ; @@ -69,6 +70,11 @@ move.l DREG,A : ANY A,X {reg_subs_allowed(ANY) && !is_dreg(A) } -> move.l DREG,A : ANY DREG,X ; +move.w DREG,DREG2 : ANY A,DREG2 : move.w DREG2,DREG + {no_part(DREG2,A)} -> ANY A,DREG : move.w DREG,DREG2 ; +move.l DREG,DREG2 : ANY A,DREG2 : move.l DREG2,DREG + {no_part(DREG2,A)} -> ANY A,DREG : move.l DREG,DREG2 ; + /* change some compares to tests */ cmp.w #0,D : beq LAB -> tst.w D : beq LAB ; cmp.w #0,D : bne LAB -> tst.w D : bne LAB ; -- 2.34.1