15619b08f8
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
9 lines
128 B
ArmAsm
9 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
|