Source file src/simd/archsimd/internal/simd_test/maskrange_128_test.go

     1  // Copyright 2026 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build goexperiment.simd && (arm64 || wasm)
     6  
     7  package simd_test
     8  
     9  import (
    10  	"simd/archsimd"
    11  	"simd/internal/test_helpers"
    12  	"testing"
    13  )
    14  
    15  func TestMask8x16Range(t *testing.T) {
    16  	test_helpers.TestMaskAllAny(t, archsimd.LoadInt8x16)
    17  }
    18  
    19  func TestMask16x8Range(t *testing.T) {
    20  	test_helpers.TestMaskAllAny(t, archsimd.LoadInt16x8)
    21  }
    22  
    23  func TestMask32x4Range(t *testing.T) {
    24  	test_helpers.TestMaskAllAny(t, archsimd.LoadInt32x4)
    25  }
    26  
    27  func TestMask64x2Range(t *testing.T) {
    28  	test_helpers.TestMaskAllAny(t, archsimd.LoadInt64x2)
    29  }
    30  

View as plain text