git.lucas.co / go_mono
git clone https://git.lucas.co/go_mono.git

vector/acc_amd64.go (709B)

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