code: 9ferno

ref: 25e4f8ae90bd66f124f6b96ffdf70ae00100d4c0
dir: /os/pc64/fpsave.s/

View raw version
TEXT	FPsave(SB), 1, $0	/* save FPU environment without waiting */
	MOVQ	RARG, AX
	FSTENV	0(AX)
	RET
 
TEXT	FPrestore(SB), 1, $0	/* restore FPU environment without waiting */
	MOVQ	RARG, AX
	FLDENV	0(AX)
	RET