]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: repair MININT conversion bug in arm softfloat
authorDavid Chase <drchase@google.com>
Thu, 5 May 2016 20:35:10 +0000 (13:35 -0700)
committerDavid Chase <drchase@google.com>
Thu, 5 May 2016 22:29:25 +0000 (22:29 +0000)
commit6db98a3c51549eb5e1e481e9bca6ede7e8e15f54
tree287ad1a461bb54dd44a7420671c6be19921a3099
parent5f83bf6053763801beb84a926cde7221874bc4f7
cmd/compile: repair MININT conversion bug in arm softfloat

Negative-case conversion code was wrong for minimum int32,
used negate-then-widen instead of widen-then-negate.

Test already exists; this fixes the failure.

Fixes #15563.

Change-Id: I4b0b3ae8f2c9714bdcc405d4d0b1502ccfba2b40
Reviewed-on: https://go-review.googlesource.com/22830
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/softfloat_arm.go