shithub: mc

ref: c8fc28663680895932ff0b2014e2abefc63abf8f
dir: /lib/math/ftrap-impl+plan9-x64.s/

View raw version
TEXT	math$fptrap(SB),$0
	SUBQ	$4,SP
	WAIT
	STMXCSR	(SP)
	MOVL	(SP),AX
	ANDL	$~0x1f80,AX
	TESTB	DI,DI
	JNZ	.apply
	ORL	$0x1f80,AX
.apply:
	MOVL	AX,(SP)
	LDMXCSR	(SP)
	ADDQ	$4,SP
	RET