fix blake2b tests on non-amd64 machines (#3496)

Fix the TestHashes Test for non-amd64 machines
This commit is contained in:
Andreas Auernhammer
2016-12-26 02:03:08 +01:00
committed by Harshavardhana
parent cdc6c2d578
commit 6ee27daac1
6 changed files with 24 additions and 19 deletions
+2 -2
View File
@@ -280,8 +280,8 @@ noinc:
MOVQ BP, SP
RET
// func supportSSE4() bool
TEXT ·supportSSE4(SB), 4, $0-1
// func supportsSSE4() bool
TEXT ·supportsSSE4(SB), 4, $0-1
MOVL $1, AX
CPUID
SHRL $19, CX // Bit 19 indicates SSE4 support