acc_amd64.go 709 B

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