8g: add TESTL etc to reg opt

Fixes #436.

R=ken2
https://golang.org/cl/180105
This commit is contained in:
Russ Cox 2009-12-21 11:02:18 -08:00
parent c276d87c6c
commit 4ab0ce107a
1 changed files with 3 additions and 0 deletions

View File

@ -239,6 +239,9 @@ regopt(Prog *firstp)
case ACMPB:
case ACMPL:
case ACMPW:
case ATESTB:
case ATESTL:
case ATESTW:
for(z=0; z<BITS; z++)
r->use2.b[z] |= bit.b[z];
break;