diff --git a/src/simd/ops_amd64.go b/src/simd/ops_amd64.go index 55c4b32db00..6f1c1a1b23a 100644 --- a/src/simd/ops_amd64.go +++ b/src/simd/ops_amd64.go @@ -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. // diff --git a/src/simd/simd_wrapped_test.go b/src/simd/simd_wrapped_test.go index 181a937d7eb..bdbb25bfce4 100644 --- a/src/simd/simd_wrapped_test.go +++ b/src/simd/simd_wrapped_test.go @@ -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":