]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: mark MOVWF/MOVFW clobbering F15 on ARM
authorCherry Zhang <cherryyz@google.com>
Sun, 5 Mar 2017 16:37:09 +0000 (11:37 -0500)
committerCherry Zhang <cherryyz@google.com>
Sun, 5 Mar 2017 18:31:27 +0000 (18:31 +0000)
commit6fd5e2549ad530dc6f8504de61f1e49fa4f336ea
tree4b5d27a1a757515f63c66f20cd1b71e93228d4ed
parentd4451362c0fa47b25fc2e69129e68cbbee4a6bdf
cmd/compile: mark MOVWF/MOVFW clobbering F15 on ARM

The assembler back end uses F15 as a temporary register in these
instructions.

Checked the assembler back end and made sure that this is the
only case clobbering F15.

Fixes #19403.

Change-Id: I02b9e00fdd9229db899f501c8e9b306e02912d83
Reviewed-on: https://go-review.googlesource.com/37792
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/gen/ARMOps.go
src/cmd/compile/internal/ssa/opGen.go