shithub: riscv

ref: 5fc2f6af6c9d938dca7dd4b8df061d9eeb87ec75
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