mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-08 11:58:49 +03:00
10 lines
128 B
ArmAsm
10 lines
128 B
ArmAsm
|
// func HasAESNI() bool
|
||
|
TEXT ·HasAESNI(SB),$0
|
||
|
XORQ AX, AX
|
||
|
INCL AX
|
||
|
CPUID
|
||
|
SHRQ $25, CX
|
||
|
ANDQ $1, CX
|
||
|
MOVB CX, ret+0(FP)
|
||
|
RET
|