shithub: riscv

ref: f35d5ee5b036b7b4fa59b1839f52fca15b7f99f9
dir: /sys/src/ape/lib/ap/mips/getfcr.s/

View raw version
TEXT	getfsr(SB), $0
	MOVW	FCR31, R1
	RET

TEXT	setfsr(SB), $0
	MOVW	R1, FCR31
	RET

TEXT	getfcr(SB), $0
	MOVW	FCR31, R1
	RET

TEXT	setfcr(SB), $0
	MOVW	R1, FCR31
	RET