5c: handle (rare) MULU instruction in peephole optimizer
This commit is contained in:
parent
cd3053a3cc
commit
c184d2602d
1 changed files with 3 additions and 0 deletions
|
@ -306,6 +306,7 @@ subprop(Reg *r0)
|
||||||
case AAND:
|
case AAND:
|
||||||
case AEOR:
|
case AEOR:
|
||||||
case AMUL:
|
case AMUL:
|
||||||
|
case AMULU:
|
||||||
case ADIV:
|
case ADIV:
|
||||||
case ADIVU:
|
case ADIVU:
|
||||||
|
|
||||||
|
@ -977,6 +978,7 @@ copyu(Prog *p, Adr *v, Adr *s)
|
||||||
case AAND:
|
case AAND:
|
||||||
case AEOR:
|
case AEOR:
|
||||||
case AMUL:
|
case AMUL:
|
||||||
|
case AMULU:
|
||||||
case ADIV:
|
case ADIV:
|
||||||
case ADIVU:
|
case ADIVU:
|
||||||
case AADDF:
|
case AADDF:
|
||||||
|
@ -1112,6 +1114,7 @@ a2type(Prog *p)
|
||||||
case AAND:
|
case AAND:
|
||||||
case AEOR:
|
case AEOR:
|
||||||
case AMUL:
|
case AMUL:
|
||||||
|
case AMULU:
|
||||||
case ADIV:
|
case ADIV:
|
||||||
case ADIVU:
|
case ADIVU:
|
||||||
return D_REG;
|
return D_REG;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue