mirror of
https://github.com/golang/go.git
synced 2026-08-02 20:44:20 +08:00
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:
parent
65504872cb
commit
976f0044da
@ -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))
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user