test : repair codegen/simd mask instructions test

Fixes #80199.

Change-Id: I33d0f5f393a21c60eae8909bb10fa5c2391f13b3
Reviewed-on: https://go-review.googlesource.com/c/go/+/796560
Auto-Submit: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
This commit is contained in:
David Chase 2026-07-02 11:07:17 -04:00 committed by Junyang Shao
parent 65504872cb
commit 976f0044da

View File

@ -113,25 +113,25 @@ func sftImmVPSRL() archsimd.Uint32x4 {
func aLtbLtc8_avx512(a, b, c archsimd.Int8x64) archsimd.Mask8x64 {
// the vector length implies AVX512 implies the mask operations.
// amd64:`KANDB`
// amd64:`KANDQ`
return a.Less(b).And(b.Less(c))
}
func aLtbORbLtc8_avx512(a, b, c archsimd.Int8x64) archsimd.Mask8x64 {
// the vector length implies AVX512 implies the mask operations.
// amd64:`KORB`
// amd64:`KORQ`
return a.Less(b).Or(b.Less(c))
}
func aLtbLtc64_avx512(a, b, c archsimd.Int64x8) archsimd.Mask64x8 {
// the vector length implies AVX512 implies the mask operations.
// amd64:`KANDQ`
// amd64:`KANDB`
return a.Less(b).And(b.Less(c))
}
func aLtbORbLtc64_avx512(a, b, c archsimd.Int64x8) archsimd.Mask64x8 {
// the vector length implies AVX512 implies the mask operations.
// amd64:`KORQ`
// amd64:`KORB`
return a.Less(b).Or(b.Less(c))
}