Source file src/simd/archsimd/export_arm64_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.simdstable
     6  
     7  // This exposes some internal interfaces to archsimd_test.
     8  
     9  package archsimd
    10  
    11  func (x Uint8x16) ExportTestCarrylessMultiplyWidenLo(y Uint8x16) Uint16x8 {
    12  	return x.carrylessMultiplyWidenLo(y)
    13  }
    14  
    15  func (x Uint8x16) ExportTestCarrylessMultiplyWidenHi(y Uint8x16) Uint16x8 {
    16  	return x.HiToLo().carrylessMultiplyWidenLo(y.HiToLo())
    17  }
    18  

View as plain text