libgo: update to go1.9
[official-gcc.git] / libgo / go / crypto / sha256 / sha256block_amd64.go
blobb311a125c982c7a4cef08b7ec510dcce069ef32a
1 // Copyright 2017 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 ignore
7 package sha256
9 import "internal/cpu"
11 var useAVX2 = cpu.X86.HasAVX2 && cpu.X86.HasBMI2