Commit 4ab0ce10 authored by Russ Cox's avatar Russ Cox

8g: add TESTL etc to reg opt

Fixes #436.

R=ken2
https://golang.org/cl/180105
parent c276d87c
...@@ -239,6 +239,9 @@ regopt(Prog *firstp) ...@@ -239,6 +239,9 @@ regopt(Prog *firstp)
case ACMPB: case ACMPB:
case ACMPL: case ACMPL:
case ACMPW: case ACMPW:
case ATESTB:
case ATESTL:
case ATESTW:
for(z=0; z<BITS; z++) for(z=0; z<BITS; z++)
r->use2.b[z] |= bit.b[z]; r->use2.b[z] |= bit.b[z];
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment