1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:57:57 -07:00

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

View File

@ -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;