From: Ian Lance Taylor Date: Fri, 24 Jun 2022 20:22:02 +0000 (-0700) Subject: runtime: avoid fma in mkfastlog2table X-Git-Tag: go1.19rc1~58 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=351e0f4083779d8ac91c05afebded42a302a6893;p=gostls13.git runtime: avoid fma in mkfastlog2table This lets us generate identical copies of fastlog2table.go on all hosts. Tested by regenerating fastlog2table.go on linux-amd64 and darwin-arm64. Fixes #49891 Change-Id: I279d6b5abb5a5290c049d9658050fd9c8d0c0190 Reviewed-on: https://go-review.googlesource.com/c/go/+/413976 Run-TryBot: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Reviewed-by: Michael Knyszek TryBot-Result: Gopher Robot Auto-Submit: Ian Lance Taylor --- diff --git a/src/runtime/mkfastlog2table.go b/src/runtime/mkfastlog2table.go index a55f54751c..614d1f7e03 100644 --- a/src/runtime/mkfastlog2table.go +++ b/src/runtime/mkfastlog2table.go @@ -46,7 +46,64 @@ const fastlogNumBits = 5 func computeTable() []float64 { fastlog2Table := make([]float64, 1<