shithub: riscv

ref: 688c1f15cdaa5fcad19d9fddb30e1c555bfc59e0
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