shithub: purgatorio

ref: 75c92428225428c8fde2d015f010e608a0b12f1d
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