From: ceriel Date: Fri, 3 Mar 1989 11:10:13 +0000 (+0000) Subject: Added some patterns X-Git-Tag: release-5-5~2537 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0e3f85e837921528fc5fc34e5a836588607fdf8f;p=ack.git Added some patterns --- 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 ;