diff options
author | Cherry Zhang <cherryyz@google.com> | 2018-04-13 15:02:07 -0400 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2018-04-17 18:27:55 +0000 |
commit | f83e4212688c8dfc9a34f7735fa74d14e7995388 (patch) | |
tree | 6f53e0c8c530da0b512020d8c4bfaf8b5cb0206f /src/runtime/runtime2.go | |
parent | 58b18cfda5fa96330df00c529c36f207eae08cbc (diff) | |
download | go-git-f83e4212688c8dfc9a34f7735fa74d14e7995388.tar.gz |
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>
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r-- | src/runtime/runtime2.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 51fceb8d8f..18ce75d13a 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -421,7 +421,6 @@ type m struct { throwing int32 preemptoff string // if != "", keep curg running on this m locks int32 - softfloat int32 dying int32 profilehz int32 helpgc int32 @@ -445,9 +444,6 @@ type m struct { mcache *mcache lockedg guintptr createstack [32]uintptr // stack that created this thread. - freglo [16]uint32 // d[i] lsb and f[i] - freghi [16]uint32 // d[i] msb and f[i+16] - fflag uint32 // floating point compare flags lockedExt uint32 // tracking for external LockOSThread lockedInt uint32 // tracking for internal lockOSThread nextwaitm muintptr // next m waiting for lock |