0ed2caa453
Go 1.5 doesn't understand amd64 opcode mnemonics like PADDD or PMULLD. Change-Id: Ic31ab4d2a8a222ca18288387de40db6ce673d7f1 Reviewed-on: https://go-review.googlesource.com/32132 Reviewed-by: David Crawshaw <crawshaw@golang.org>
35 lines
784 B
Go
35 lines
784 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 go1.6
|
|
// +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)
|