format ms64 coff section '.text' code readable executable use64 public _AVX _AVX: vbroadcastsd ymm0, xmm0 ; load @num into all slots vsqrtpd ymm0, ymm0 vmovdqu [rdx], ymm0 ; store result in @res ret public _RDRAND _RDRAND: rdrand eax ret