aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_plan9_arm.go
diff options
context:
space:
mode:
authorMartin Möhrmann <moehrmann@google.com>2018-05-27 08:49:36 +0200
committerMartin Möhrmann <moehrmann@google.com>2018-08-24 14:27:07 +0000
commit2e8c31b3d2afce1c1c7b0c6af9cc4a9f296af299 (patch)
tree68b737013b6cf6ec3b10915aff665b45c724b49b /src/runtime/os_plan9_arm.go
parent4363c98f62e9e315ed20b12d2ce47021fd2bf7bc (diff)
downloadgo-2e8c31b3d2afce1c1c7b0c6af9cc4a9f296af299.tar.gz
go-2e8c31b3d2afce1c1c7b0c6af9cc4a9f296af299.zip
runtime: move arm hardware division support detection to internal/cpu
Assumes mandatory VFP and VFPv3 support to be present by default but not IDIVA if AT_HWCAP is not available. Adds GODEBUGCPU options to disable the use of code paths in the runtime that use hardware support for division. Change-Id: Ida02311bd9b9701de3fc120697e69445bf6c0853 Reviewed-on: https://go-review.googlesource.com/114826 Run-TryBot: Martin Möhrmann <moehrmann@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/os_plan9_arm.go')
-rw-r--r--src/runtime/os_plan9_arm.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/os_plan9_arm.go b/src/runtime/os_plan9_arm.go
index 1ce0141ce2..fdce1e7a35 100644
--- a/src/runtime/os_plan9_arm.go
+++ b/src/runtime/os_plan9_arm.go
@@ -4,8 +4,6 @@
package runtime
-var hardDiv bool // TODO: set if a hardware divider is available
-
func checkgoarm() {
return // TODO(minux)
}