Source file src/simd/testdata/ip/sum.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 !amd64
     6  
     7  package main
     8  
     9  import (
    10  	"simd"
    11  )
    12  
    13  func sum(x simd.Float32s) float32 {
    14  	return boringSum(x)
    15  }
    16  

View as plain text