|
@@ -22,7 +22,7 @@ func fromHex(s string) []byte {
|
|
|
|
|
|
|
|
func TestHashes(t *testing.T) {
|
|
func TestHashes(t *testing.T) {
|
|
|
defer func(sse4, avx, avx2 bool) {
|
|
defer func(sse4, avx, avx2 bool) {
|
|
|
- useSSE4, useAVX, useAVX2 = sse4, useAVX, avx2
|
|
|
|
|
|
|
+ useSSE4, useAVX, useAVX2 = sse4, avx, avx2
|
|
|
}(useSSE4, useAVX, useAVX2)
|
|
}(useSSE4, useAVX, useAVX2)
|
|
|
|
|
|
|
|
if useAVX2 {
|
|
if useAVX2 {
|