[go] [dev.simd] simd/archsimd: add HasAVX2() guards to tests that need them

1 view
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Dec 20, 2025, 10:49:08 AM (24 hours ago) Dec 20
to David Chase, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Go LUCI, Mark Pulford, Cherry Mui, golang-co...@googlegroups.com

Gopher Robot submitted the change

Unreviewed changes

1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Change information

Commit message:
simd/archsimd: add HasAVX2() guards to tests that need them

This may not be complete, because some 256-bit float operations
may be implemented with integer simd instead (in some cases there
is no float op). (And some tests may have just been overlooked.)

Fixes #76866.
Change-Id: I90b1dfe039c322c484af916436fc6f6c50a31030
Auto-Submit: David Chase <drc...@google.com>
Reviewed-by: Cherry Mui <cher...@google.com>
Files:
  • M src/simd/archsimd/internal/simd_test/binary_test.go
  • M src/simd/archsimd/internal/simd_test/compare_test.go
  • M src/simd/archsimd/internal/simd_test/simd_test.go
  • M src/simd/archsimd/internal/simd_test/unary_test.go
Change size: L
Delta: 4 files changed, 270 insertions(+), 126 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Cherry Mui
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I90b1dfe039c322c484af916436fc6f6c50a31030
Gerrit-Change-Number: 731502
Gerrit-PatchSet: 3
Gerrit-Owner: David Chase <drc...@google.com>
Gerrit-Reviewer: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: David Chase <drc...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-CC: Mark Pulford <ma...@kyne.au>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages