code: 9ferno

ref: d2ddb4edfec6500aa3e59e0517e9cc46eb146310
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