shithub: purgatorio

ref: a411870ee4640241e3c494367d922847da84f972
dir: purgatorio/os/pc/fpsave.s

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