xref: /plan9-contrib/sys/src/ape/lib/ap/mips64/getfcr.s (revision 6c6e36e1134c52b146e9d71d8c7dc193994c0c4e)
1*6c6e36e1SDavid du ColombierTEXT	getfsr(SB), $0
2*6c6e36e1SDavid du Colombier	MOVW	FCR31, R1
3*6c6e36e1SDavid du Colombier	RET
4*6c6e36e1SDavid du Colombier
5*6c6e36e1SDavid du ColombierTEXT	setfsr(SB), $0
6*6c6e36e1SDavid du Colombier	MOVW	R1, FCR31
7*6c6e36e1SDavid du Colombier	RET
8*6c6e36e1SDavid du Colombier
9*6c6e36e1SDavid du ColombierTEXT	getfcr(SB), $0
10*6c6e36e1SDavid du Colombier	MOVW	FCR31, R1
11*6c6e36e1SDavid du Colombier	RET
12*6c6e36e1SDavid du Colombier
13*6c6e36e1SDavid du ColombierTEXT	setfcr(SB), $0
14*6c6e36e1SDavid du Colombier	MOVW	R1, FCR31
15*6c6e36e1SDavid du Colombier	RET
16