aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/vlrt.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/vlrt.go')
-rw-r--r--src/runtime/vlrt.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/runtime/vlrt.go b/src/runtime/vlrt.go
index 38e0b32801..996c0611fd 100644
--- a/src/runtime/vlrt.go
+++ b/src/runtime/vlrt.go
@@ -263,7 +263,7 @@ func slowdodiv(n, d uint64) (q, r uint64) {
return q, n
}
-// Floating point control word values for GOARCH=386 GO386=387.
+// Floating point control word values.
// Bits 0-5 are bits to disable floating-point exceptions.
// Bits 8-9 are the precision control:
// 0 = single precision a.k.a. float32
@@ -273,6 +273,5 @@ func slowdodiv(n, d uint64) (q, r uint64) {
// 3 = round toward zero
var (
controlWord64 uint16 = 0x3f + 2<<8 + 0<<10
- controlWord32 = 0x3f + 0<<8 + 0<<10
- controlWord64trunc = 0x3f + 2<<8 + 3<<10
+ controlWord64trunc uint16 = 0x3f + 2<<8 + 3<<10
)