]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.5] cmd/asm: handle CMPF and CMPD on ARM
authorRob Pike <r@golang.org>
Wed, 2 Sep 2015 20:11:26 +0000 (13:11 -0700)
committerAndrew Gerrand <adg@golang.org>
Tue, 8 Sep 2015 23:23:05 +0000 (23:23 +0000)
commit23c646c226e9820c30fba29ebef94d7e328ada83
treee33a62c49bb6b3b12cb3526a5c0efa99a45e0799
parent71387ff53f95ddd5f0bb91d7e4c92ccdc65238e7
[release-branch.go1.5] 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>
Reviewed-on: https://go-review.googlesource.com/14358
Reviewed-by: Chris Broadfoot <cbro@golang.org>
Reviewed-by: Rob Pike <r@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