// 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 amd64,!gccgo,!appenginepackageblake2simport"golang.org/x/sys/cpu"var(useSSE4=cpu.X86.HasSSE41useSSSE3=cpu.X86.HasSSSE3useSSE2=cpu.X86.HasSSE2)//go:noescapefunchashBlocksSSE2(h*[8]uint32,c*[2]uint32,flaguint32,blocks[]byte)//go:noescapefunchashBlocksSSSE3(h*[8]uint32,c*[2]uint32,flaguint32,blocks[]byte)//go:noescapefunchashBlocksSSE4(h*[8]uint32,c*[2]uint32,flaguint32,blocks[]byte)funchashBlocks(h*[8]uint32,c*[2]uint32,flaguint32,blocks[]byte){switch{caseuseSSE4:hashBlocksSSE4(h,c,flag,blocks)caseuseSSSE3:hashBlocksSSSE3(h,c,flag,blocks)caseuseSSE2:hashBlocksSSE2(h,c,flag,blocks)default:hashBlocksGeneric(h,c,flag,blocks)}}