]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm, runtime: delete old ARM softfloat code
authorCherry Zhang <cherryyz@google.com>
Fri, 13 Apr 2018 19:02:07 +0000 (15:02 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 17 Apr 2018 18:27:55 +0000 (18:27 +0000)
commitf83e4212688c8dfc9a34f7735fa74d14e7995388
tree6f53e0c8c530da0b512020d8c4bfaf8b5cb0206f
parent58b18cfda5fa96330df00c529c36f207eae08cbc
cmd/internal/obj/arm, runtime: delete old ARM softfloat code

CL 106735 changed to the new softfloat support on GOARM=5.

ARM assembly code that uses FP instructions not guarded on GOARM,
if any, will break. The easiest way to fix is probably to use Go
implementation on GOARM=5, like

MOVB runtimeĀ·goarm(SB), R11
CMP $5, R11
BEQ arm5
... FP instructions ...
RET
arm5:
CALL or JMP to Go implementation

Change-Id: I52fc76fac9c854ebe7c6c856c365fba35d3f560a
Reviewed-on: https://go-review.googlesource.com/107475
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/asm/internal/asm/operand_test.go
src/cmd/internal/obj/arm/obj5.go
src/runtime/export_test.go
src/runtime/panic.go
src/runtime/runtime2.go
src/runtime/softfloat_arm.go [deleted file]
src/runtime/sqrt.go [deleted file]
src/runtime/sqrt_test.go [deleted file]
src/runtime/stubs_arm.go [new file with mode: 0644]
src/runtime/vlop_arm.s