]> Cypherpunks repositories - gostls13.git/commit
6l/8l: emit correct opcodes to F(SUB|DIV)R?D.
authorAdam Langley <agl@golang.org>
Mon, 10 Sep 2012 19:35:39 +0000 (15:35 -0400)
committerAdam Langley <agl@golang.org>
Mon, 10 Sep 2012 19:35:39 +0000 (15:35 -0400)
commit72fa142fc54366f3009d47afd51bd031cc946454
tree4cf803cafa703b80930e31779c063b9385c614e1
parenta7743d7ad25a5a37699c1bc8378f8f2523956f72
6l/8l: emit correct opcodes to F(SUB|DIV)R?D.

When the destination was not F0, 6l and 8l swapped FSUBD/FSUBRD and
FDIVD/FDIVRD.

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/6498092
src/cmd/6l/optab.c
src/cmd/8l/optab.c
test/fixedbugs/bug453.dir/bug453.go [new file with mode: 0644]
test/fixedbugs/bug453.dir/bug453.s [new file with mode: 0644]
test/fixedbugs/bug453.dir/bug453_ref.go [new file with mode: 0644]
test/fixedbugs/bug453.go [new file with mode: 0644]