acc_amd64.go

 1// Copyright 2016 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 !appengine && gc && !noasm
 6
 7package vector
 8
 9func haveSSE4_1() bool
10
11var haveAccumulateSIMD = haveSSE4_1()
12
13//go:noescape
14func fixedAccumulateOpOverSIMD(dst []uint8, src []uint32)
15
16//go:noescape
17func fixedAccumulateOpSrcSIMD(dst []uint8, src []uint32)
18
19//go:noescape
20func fixedAccumulateMaskSIMD(buf []uint32)
21
22//go:noescape
23func floatingAccumulateOpOverSIMD(dst []uint8, src []float32)
24
25//go:noescape
26func floatingAccumulateOpSrcSIMD(dst []uint8, src []float32)
27
28//go:noescape
29func floatingAccumulateMaskSIMD(dst []uint32, src []float32)