]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: handle CMPF and CMPD on ARM
authorRob Pike <r@golang.org>
Wed, 2 Sep 2015 20:11:26 +0000 (13:11 -0700)
committerRob Pike <r@golang.org>
Thu, 3 Sep 2015 19:40:11 +0000 (19:40 +0000)
commit36af087aeff187d0881aed51e7822e2b2bb66b27
treed7bff3b6b664721557271504a264cd0a641263c7
parentd737639c4acce7c9f28de22eabfd623d0ae7ed50
cmd/asm: handle CMPF and CMPD on ARM

These instructions are special cases that were missed in the translation.
The second argument must go into the Reg field not the To field.

Fixes #12458

For Go 1.5.1

Change-Id: Iad57c60c7e38e3bcfafda483ed5037ce670e8816
Reviewed-on: https://go-review.googlesource.com/14183
Reviewed-by: Dave Cheney <dave@cheney.net>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/arch/arm.go
src/cmd/asm/internal/asm/asm.go
src/cmd/asm/internal/asm/testdata/arm.out
src/cmd/asm/internal/asm/testdata/arm.s