]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix FP accuracy issue introduced by FMA optimization on ARM64
authorBen Shi <powerman1st@163.com>
Thu, 22 Feb 2018 13:55:01 +0000 (13:55 +0000)
committerCherry Zhang <cherryyz@google.com>
Thu, 22 Feb 2018 15:28:08 +0000 (15:28 +0000)
commit7113d3a512b17d1acea0904a2e5590fdfbd388bb
tree3102fab75bd30d8d884afaa359098f6cc2e679b9
parentef3ab3f5e2e612532733b3cdd38eefa387595fe3
cmd/compile: fix FP accuracy issue introduced by FMA optimization on ARM64

Two ARM64 rules are added to avoid FP accuracy issue, which causes
build failure.
https://build.golang.org/log/1360f5c9ef3f37968216350283c1013e9681725d

fixes #24033

Change-Id: I9b74b584ab5cc53fa49476de275dc549adf97610
Reviewed-on: https://go-review.googlesource.com/96355
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/arm64/ssa.go
src/cmd/compile/internal/ssa/gen/ARM64.rules
src/cmd/compile/internal/ssa/gen/ARM64Ops.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteARM64.go