]> Cypherpunks repositories - gostls13.git/commit
runtime: fix uint64->float32 conversion for softfloat
authorKeith Randall <khr@golang.org>
Thu, 7 Oct 2021 20:29:09 +0000 (13:29 -0700)
committerKeith Randall <khr@golang.org>
Fri, 8 Oct 2021 17:58:41 +0000 (17:58 +0000)
commit16a3cefc93d9b896b2053320e387d0e449904aba
tree7451bc7393b562e7d4bd6f6f13a406b33162ecfb
parentd7ba1d276be37989cfbcf3dc17a17e2ee9c5382d
runtime: fix uint64->float32 conversion for softfloat

The fix for #48807 in CL 354429 forgot that we also need to fix
the softfloat implementation.

Update #48807

Change-Id: I596fb4e14e78145d1ad43c130b2cc5122b73655c
Reviewed-on: https://go-review.googlesource.com/c/go/+/354613
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/test/ssa_test.go
src/runtime/softfloat64.go