shithub: riscv

ref: 63f9a4fda36f916e543c8f3ea117b31c194a4db7
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