]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] internal/cpu: add GFNI feature check
authorJunyang Shao <shaojunyang@google.com>
Tue, 1 Jul 2025 18:00:33 +0000 (18:00 +0000)
committerJunyang Shao <shaojunyang@google.com>
Tue, 1 Jul 2025 20:51:57 +0000 (13:51 -0700)
commit1ee72a15a3e893c82cc7108c49f141e824f941c2
tree9a5f10330952e6386ba00a5e6eb5ceab9b79867b
parent0710cce6eb0d75db1fc6c45807773f40edb14d73
[dev.simd] internal/cpu: add GFNI feature check

This CL amends HasAVX512 flag with GFNI check.

This is needed because our SIMD API supports Galois Field operations.

Change-Id: I3e957b7b2215d2b7b6b8a7a0ca3e2e60d453b2e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/685295
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/cpu/cpu.go
src/internal/cpu/cpu_x86.go
src/simd/cpu.go
src/simd/simd_test.go