diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-11-01 12:09:03 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-11-01 12:09:03 +0100 |
commit | c184d2602d62225997fd1c5eae9fd602f7924d5b (patch) | |
tree | 02b476f2bffc59eda987aa35adf40169c5012228 /sys/src/cmd | |
parent | cd3053a3cc2e1dd751efc17a0e23b4d5a2b62341 (diff) |
5c: handle (rare) MULU instruction in peephole optimizer
Diffstat (limited to 'sys/src/cmd')
-rw-r--r-- | sys/src/cmd/5c/peep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/src/cmd/5c/peep.c b/sys/src/cmd/5c/peep.c index 3d624a93d..0c126c0d8 100644 --- a/sys/src/cmd/5c/peep.c +++ b/sys/src/cmd/5c/peep.c @@ -306,6 +306,7 @@ subprop(Reg *r0) case AAND: case AEOR: case AMUL: + case AMULU: case ADIV: case ADIVU: @@ -977,6 +978,7 @@ copyu(Prog *p, Adr *v, Adr *s) case AAND: case AEOR: case AMUL: + case AMULU: case ADIV: case ADIVU: case AADDF: @@ -1112,6 +1114,7 @@ a2type(Prog *p) case AAND: case AEOR: case AMUL: + case AMULU: case ADIV: case ADIVU: return D_REG; |