4b0b9b997d
This change reverts CL 32132. We no longer have to worry about Go 1.5 support. This results in slightly simpler build constraints. Change-Id: I021936646a6e9a82462a885b256894027fb58aeb Reviewed-on: https://go-review.googlesource.com/c/148568 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
34 lines
768 B
Go
34 lines
768 B
Go
// Copyright 2016 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build !appengine
|
|
// +build gc
|
|
// +build !noasm
|
|
|
|
package vector
|
|
|
|
func haveSSE4_1() bool
|
|
|
|
var haveFixedAccumulateSIMD = haveSSE4_1()
|
|
|
|
const haveFloatingAccumulateSIMD = true
|
|
|
|
//go:noescape
|
|
func fixedAccumulateOpOverSIMD(dst []uint8, src []uint32)
|
|
|
|
//go:noescape
|
|
func fixedAccumulateOpSrcSIMD(dst []uint8, src []uint32)
|
|
|
|
//go:noescape
|
|
func fixedAccumulateMaskSIMD(buf []uint32)
|
|
|
|
//go:noescape
|
|
func floatingAccumulateOpOverSIMD(dst []uint8, src []float32)
|
|
|
|
//go:noescape
|
|
func floatingAccumulateOpSrcSIMD(dst []uint8, src []float32)
|
|
|
|
//go:noescape
|
|
func floatingAccumulateMaskSIMD(dst []uint32, src []float32)
|