mirror of
https://github.com/pgsty/minio.git
synced 2026-08-11 00:33:28 +03:00
fix blake2b tests on non-amd64 machines (#3496)
Fix the TestHashes Test for non-amd64 machines
This commit is contained in:
committed by
Harshavardhana
parent
cdc6c2d578
commit
6ee27daac1
+4
-4
@@ -489,14 +489,14 @@ noinc:
|
||||
MOVQ BP, SP
|
||||
RET
|
||||
|
||||
// func supportAVX2() bool
|
||||
TEXT ·supportAVX2(SB), 4, $0-1
|
||||
// func supportsAVX2() bool
|
||||
TEXT ·supportsAVX2(SB), 4, $0-1
|
||||
MOVQ runtime·support_avx2(SB), AX
|
||||
MOVB AX, ret+0(FP)
|
||||
RET
|
||||
|
||||
// func supportAVX() bool
|
||||
TEXT ·supportAVX(SB), 4, $0-1
|
||||
// func supportsAVX() bool
|
||||
TEXT ·supportsAVX(SB), 4, $0-1
|
||||
MOVQ runtime·support_avx(SB), AX
|
||||
MOVB AX, ret+0(FP)
|
||||
RET
|
||||
|
||||
Reference in New Issue
Block a user