]> Cypherpunks repositories - gostls13.git/commit
[dev.power64] 9a: correct generation of four argument ops
authorAustin Clements <austin@google.com>
Tue, 28 Oct 2014 19:08:09 +0000 (15:08 -0400)
committerAustin Clements <austin@google.com>
Tue, 28 Oct 2014 19:08:09 +0000 (15:08 -0400)
commitc8f50b298cdf378889cff2a1b7355f7a1cb08a0a
tree1f6d569cff1dcd95c4c7de0fda3bf721f7ca22f6
parentc2364b58cc482cf12ab675763e0857e58e92a43a
[dev.power64] 9a: correct generation of four argument ops

The "to" field was the penultimate argument to outgcode,
instead of the last argument, which swapped the third and
fourth operands.  The argument order was correct in a.y, so
just swap the meaning of the arguments in outgcode.  This
hadn't come up because we hadn't used these more obscure
operations in any hand-written assembly until now.

LGTM=rsc, dave
R=rsc, dave
CC=golang-codereviews
https://golang.org/cl/160690043
src/cmd/9a/lex.c