shithub: riscv

ref: 8b59286ef1d9bef6c2c7b248ab0b8072e25ec9cf
dir: /sys/src/ape/lib/9/arm/getfcr.s/

View raw version

TEXT	setfcr(SB), $4
	MOVW	R0, FPCR
	RET

TEXT	getfcr(SB), $4
	MOVW	FPCR, R0
	RET

TEXT	getfsr(SB), $0
	MOVW	FPSR, R0
	RET

TEXT	setfsr(SB), $0
	MOVW	R0, FPSR
	RET