aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/bits.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2026-01-02 14:02:07 -0500
committerCherry Mui <cherryyz@google.com>2026-01-02 12:16:34 -0800
commite84983fa40a6e97d3e169f1f3549af889b1b1f22 (patch)
tree782393e6b94f39a862623149faac9bad11fabaf1 /test/codegen/bits.go
parent8244b8567704739d9d6fa69a0f4b50b3203d6504 (diff)
downloadgo-e84983fa40a6e97d3e169f1f3549af889b1b1f22.tar.xz
cmd/compile: optimize SIMD IsNaN.Or(IsNaN)
IsNaN's underlying instruction, VCMPPS (or VCMPPD), takes two inputs, and computes either of them is NaN. Optimize the Or pattern to generate two-operand form. This implements the optimization mentioned in CL 733660. Change-Id: I13943b377ee384864c913eed320763f333a03e41 Reviewed-on: https://go-review.googlesource.com/c/go/+/733680 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'test/codegen/bits.go')
0 files changed, 0 insertions, 0 deletions