From eff0f36a5d3a2865bf7879eb271429dea63dc708 Mon Sep 17 00:00:00 2001 From: sater Date: Fri, 3 Aug 1984 16:37:15 +0000 Subject: [PATCH] added patterns for *p++ local and external p added pattern to remove some badly placed dups --- util/opt/patterns | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/util/opt/patterns b/util/opt/patterns index 60325dfe2..dffce3a4f 100644 --- a/util/opt/patterns +++ b/util/opt/patterns @@ -482,3 +482,11 @@ lal loi loc loc loc loc ior $2==4*w && $7==4*w && ($3==0)+($4==0)+($5==0)+($6==0 lol $1+3*w loc $3 ior w lol $1+2*w loc $4 ior w lol $1+w loc $5 ior w lol $1 loc $6 ior w loc dup stl loc dup stl $2==2 && $5==2: loc $1 stl $3 loc $4 stl $6 loc $1 loc $4 +LLP LLP adp SLP sti $2==$4 && (!notreg($2) || $5!=p): + LLP $1 sti $5 LLP $2 adp $3 SLP $4 +LEP LEP adp SEP sti $2==$4 && $5!=p: + LEP $1 sti $5 LEP $2 adp $3 SEP $4 +lil inc dup sil $1==$4 && $3==w: + lil $1 inc sil $1 lil $1 +lil dec dup sil $1==$4 && $3==w: + lil $1 dec sil $1 lil $1 -- 2.34.1