]> Cypherpunks repositories - gostls13.git/commit
[dev.power64] 5g: fix mistaken bit-wise AND in regopt
authorAustin Clements <austin@google.com>
Fri, 7 Nov 2014 15:43:55 +0000 (10:43 -0500)
committerAustin Clements <austin@google.com>
Fri, 7 Nov 2014 15:43:55 +0000 (10:43 -0500)
commit7739533f61616ba71ef691489c0eeab2a59bd9e9
tree842df71eb53a01e06b1334552862859a47891f6e
parente156f0e9971ca77ed6f9cb34e36ed73145bfa177
[dev.power64] 5g: fix mistaken bit-wise AND in regopt

Replace a bit-wise AND with a logical one.  This happened to
work before because bany returns 0 or 1, but the intent here
is clearly logical (and this makes 5g match with 6g and 8g).

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/172850043
src/cmd/5g/reg.c