some simplifications and a bug fix
This commit is contained in:
parent
9ea59fd48a
commit
76684055eb
1 changed files with 1 additions and 9 deletions
|
@ -1471,7 +1471,7 @@ pat lol lof xor lol stf $1==$4 && $2==$5 && $3==2 && inreg($1)==reg_any
|
||||||
|
|
||||||
proc lofruxxsof example lol lof inc lol stf
|
proc lofruxxsof example lol lof inc lol stf
|
||||||
kills referals
|
kills referals
|
||||||
gen uxx* {ind_regoff2, regvar($1), 2}
|
gen uxx* {ind_regoff2, regvar($1), $2}
|
||||||
|
|
||||||
pat lol lof inc lol stf $1==$4 && $2==$5 && inreg($1)==reg_any
|
pat lol lof inc lol stf $1==$4 && $2==$5 && inreg($1)==reg_any
|
||||||
call lofruxxsof("inc")
|
call lofruxxsof("inc")
|
||||||
|
@ -2022,25 +2022,17 @@ with CXREG REG REG
|
||||||
|
|
||||||
pat inn $1==2
|
pat inn $1==2
|
||||||
with SHIFT_CREG REG
|
with SHIFT_CREG REG
|
||||||
gen shr %2,cl
|
|
||||||
and %2,{ANYCON, 1} yields %2
|
|
||||||
with SHIFT_CREG ACC
|
|
||||||
gen shr %2,cl
|
gen shr %2,cl
|
||||||
and %2,{ANYCON, 1} yields %2
|
and %2,{ANYCON, 1} yields %2
|
||||||
|
|
||||||
pat loc inn $1==1 && $2==2
|
pat loc inn $1==1 && $2==2
|
||||||
with REG
|
with REG
|
||||||
gen shr %1,{ANYCON, 1}
|
|
||||||
and %1,{ANYCON, 1} yields %1
|
|
||||||
with ACC
|
|
||||||
gen shr %1,{ANYCON, 1}
|
gen shr %1,{ANYCON, 1}
|
||||||
and %1,{ANYCON, 1} yields %1
|
and %1,{ANYCON, 1} yields %1
|
||||||
|
|
||||||
pat loc inn $1==0 && $2==2
|
pat loc inn $1==0 && $2==2
|
||||||
with REG
|
with REG
|
||||||
gen and %1,{ANYCON, 1} yields %1
|
gen and %1,{ANYCON, 1} yields %1
|
||||||
with ACC
|
|
||||||
gen and %1,{ANYCON, 1} yields %1
|
|
||||||
|
|
||||||
pat inn defined($1)
|
pat inn defined($1)
|
||||||
with ACC
|
with ACC
|
||||||
|
|
Loading…
Reference in a new issue