go-randomx/asm/round_amd64.s
DataHoarder 829de11c2c
Some checks failed
continuous-integration/drone/push Build is failing
Include softfloat64 and allow for purego implementation
2024-04-17 05:59:45 +02:00

16 lines
329 B
ArmAsm

//go:build amd64 && !purego
#include "textflag.h"
// stmxcsr reads the MXCSR control and status register.
TEXT ·stmxcsr(SB),NOSPLIT|NOFRAME,$0-8
MOVQ addr+0(FP), SI
STMXCSR (SI)
RET
// ldmxcsr writes to the MXCSR control and status register.
TEXT ·ldmxcsr(SB),NOSPLIT|NOFRAME,$0-8
MOVQ addr+0(FP), SI
LDMXCSR (SI)
RET