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.
5 // +build amd64,!gccgo,!appengine
10 useSSE4 = supportSSE4()
11 useSSSE3 = supportSSSE3()
12 useSSE2 = true // Always available on amd64
16 func supportSSSE3() bool
19 func supportSSE4() bool
22 func hashBlocksSSE2(h *[8]uint32, c *[2]uint32, flag uint32, blocks []byte)
25 func hashBlocksSSSE3(h *[8]uint32, c *[2]uint32, flag uint32, blocks []byte)
28 func hashBlocksSSE4(h *[8]uint32, c *[2]uint32, flag uint32, blocks []byte)
30 func hashBlocks(h *[8]uint32, c *[2]uint32, flag uint32, blocks []byte) {
32 hashBlocksSSE4(h, c, flag, blocks)
34 hashBlocksSSSE3(h, c, flag, blocks)
36 hashBlocksSSE2(h, c, flag, blocks)
38 hashBlocksGeneric(h, c, flag, blocks)