acc_amd64.go 740 B

123456789101112131415161718192021222324252627282930
  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. //go:build !appengine && gc && !noasm
  5. // +build !appengine,gc,!noasm
  6. package vector
  7. func haveSSE4_1() bool
  8. var haveAccumulateSIMD = haveSSE4_1()
  9. //go:noescape
  10. func fixedAccumulateOpOverSIMD(dst []uint8, src []uint32)
  11. //go:noescape
  12. func fixedAccumulateOpSrcSIMD(dst []uint8, src []uint32)
  13. //go:noescape
  14. func fixedAccumulateMaskSIMD(buf []uint32)
  15. //go:noescape
  16. func floatingAccumulateOpOverSIMD(dst []uint8, src []float32)
  17. //go:noescape
  18. func floatingAccumulateOpSrcSIMD(dst []uint8, src []float32)
  19. //go:noescape
  20. func floatingAccumulateMaskSIMD(dst []uint32, src []float32)