|
@@ -269,7 +269,7 @@ noinc:
|
|
|
TEXT ·supportSSE4(SB), 4, $0-1
|
|
TEXT ·supportSSE4(SB), 4, $0-1
|
|
|
MOVL $1, AX
|
|
MOVL $1, AX
|
|
|
CPUID
|
|
CPUID
|
|
|
- SHRL $15, CX // Bit 15 indicates SSE4 support
|
|
|
|
|
|
|
+ SHRL $19, CX // Bit 19 indicates SSE4 support
|
|
|
ANDL $1, CX // CX != 0 if support SSE4
|
|
ANDL $1, CX // CX != 0 if support SSE4
|
|
|
MOVB CX, ret+0(FP)
|
|
MOVB CX, ret+0(FP)
|
|
|
RET
|
|
RET
|