#endif
pat stl
with regorconst
- kills indexed,locals %ind>=$1 && %ind<$1+2
+ kills indexed,locals %ind+%size > $1 && %ind < $1+2
gen move %1,{LOCAL,$1,2}
with exact STACK
kills ALL
kills indirects
gen move %2,{EXTERN1,%1.off}
with ADDR_LOCAL regorconst12
- kills indexed,locals %ind<=%1.ind && %ind+%size>%1.ind
+ kills indexed,locals %ind+%size > $1 && %ind <= $1
gen move %2,{ind_regoff1,bp,%1.ind}
pat sti $1==4
#endif
pat inl
-kills indexed, locals %ind>=$1 && %ind<$1+2
+kills indexed,locals %ind+%size > $1 && %ind < $1+2
gen inc {LOCAL, $1, 2}
pat ine
#endif
pat del
-kills indexed, locals %ind>=$1 && %ind<$1+2
+kills indexed,locals %ind+%size > $1 && %ind < $1+2
gen dec {LOCAL, $1, 2}
pat dee
#endif
pat zrl
-kills indexed, locals %ind>=$1 && %ind<$1+2
+kills indexed,locals %ind+%size > $1 && %ind < $1+2
gen move {ANYCON, 0}, {LOCAL,$1,2}
pat zre
proc lolxxxstl example lol adi stl
with regorconst
-kills indexed, locals %ind>=$1 && %ind<$1+2
+kills indexed,locals %ind+%size > $1 && %ind < $1+2
gen axx* {LOCAL, $1, 2}, %1
pat lol adi stl $1==$3 && $2==2 call lolxxxstl("add")
proc ldlxxxsdl example ldl adi sdl
with regorconst regorconst
- kills indexed, locals %ind>=$1 && %ind<$1+4
+ kills indexed,locals %ind+%size > $1 && %ind < $1+4
gen axx[1] {LOCAL,$1,2},%1
axx[2] {LOCAL,$1+2,2},%2
pat ldl xor sdl $1==$3 && $2==4 call ldlxxxsdl("xor", "xor")
proc ldlcxxsdl example ldl ldc sbi sdl
- kills indexed, locals %ind>=$1 && %ind<$1+2
+ kills indexed,locals %ind+%size > $1 && %ind < $1+4
gen axx[1] {LOCAL,$1,2},{ANYCON,loww($2)}
axx[2] {LOCAL,$1+2,2},{ANYCON,highw($2)}
#endif
proc lolcxxstl example lol loc sbi stl
- kills indexed, locals %ind>=$1 && %ind<$1+2
+ kills indexed,locals %ind+%size > $1 && %ind < $1+2
gen axx* {LOCAL,$1,2},{ANYCON,$2}
pat lol loc sbi stl $1==$4 && $3==2 call lolcxxstl("sub")
pat lol loc sru stl $1==$4 && $3==2 && $2==1 call lolcxxstl("shr")
proc lolcshstl example lol loc sli stl
- kills indexed, locals %ind>=$1 && %ind<$1+2
+ kills indexed,locals %ind+%size > $1 && %ind < $1+2
uses CXREG = {ANYCON,$2}
gen sxx* {LOCAL,$1,2},cl
#endif
pat lol ngi stl $1==$3 && $2==2
-kills indexed, locals %ind>=$1 && %ind<$1+2
+kills indexed,locals %ind+%size > $1 && %ind < $1+2
gen neg {LOCAL, $1, 2}
pat ldl ngi sdl $1==$3 && $2==4
-kills indexed, locals %ind>=$1 && %ind<$1+4
+kills indexed,locals %ind+%size > $1 && %ind < $1+4
gen neg {LOCAL, $1, 2}
neg {LOCAL, $1+2, 2}
sbb {LOCAL, $1+2, 2}, {ANYCON, 0}
#endif
pat lol com stl $1==$3 && $2==2
-kills indexed, locals %ind>=$1 && %ind<$1+2
+kills indexed,locals %ind+%size > $1 && %ind < $1+2
gen not {LOCAL, $1, 2}
#ifdef REGVARS