mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05: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
|