mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.simd] cmd/compile, simd: fix Int64x2 Greater output type to mask
This CL is generated by CL 686821. Change-Id: I4bc4fa717ff858299b13955a40e750709a796fba Reviewed-on: https://go-review.googlesource.com/c/go/+/686998 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Junyang Shao <shaojunyang@google.com>
This commit is contained in:
parent
08cd62e9f5
commit
47b07a87a6
2 changed files with 3 additions and 3 deletions
|
|
@ -2248,7 +2248,7 @@ func (x Int32x8) Greater(y Int32x8) Mask32x8
|
|||
// Greater compares for greater than.
|
||||
//
|
||||
// Asm: VPCMPGTQ, CPU Feature: AVX
|
||||
func (x Int64x2) Greater(y Int64x2) Int64x2
|
||||
func (x Int64x2) Greater(y Int64x2) Mask64x2
|
||||
|
||||
// Greater compares for greater than.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -4018,8 +4018,6 @@ func testInt64x2Binary(t *testing.T, v0 []int64, v1 []int64, want []int64, which
|
|||
gotv = vec0.And(vec1)
|
||||
case "AndNot":
|
||||
gotv = vec0.AndNot(vec1)
|
||||
case "Greater":
|
||||
gotv = vec0.Greater(vec1)
|
||||
case "Max":
|
||||
gotv = vec0.Max(vec1)
|
||||
case "Min":
|
||||
|
|
@ -4115,6 +4113,8 @@ func testInt64x2Compare(t *testing.T, v0 []int64, v1 []int64, want []int64, whic
|
|||
switch which {
|
||||
case "Equal":
|
||||
gotv = vec0.Equal(vec1).AsInt64x2()
|
||||
case "Greater":
|
||||
gotv = vec0.Greater(vec1).AsInt64x2()
|
||||
case "GreaterEqual":
|
||||
gotv = vec0.GreaterEqual(vec1).AsInt64x2()
|
||||
case "Less":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue