]> Cypherpunks repositories - gostls13.git/commitdiff
8g: add TESTL etc to reg opt
authorRuss Cox <rsc@golang.org>
Mon, 21 Dec 2009 19:02:18 +0000 (11:02 -0800)
committerRuss Cox <rsc@golang.org>
Mon, 21 Dec 2009 19:02:18 +0000 (11:02 -0800)
Fixes #436.

R=ken2
https://golang.org/cl/180105

src/cmd/8g/reg.c

index 37a3c2e68e8298f32298c8c0b5449f8ea9bd942d..66e1bc2f36b8ea24318fb68ce85d4dce11c9be54 100644 (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;