Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/libc/power/getfcr.s

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


TEXT	getfcr(SB), $8
	MOVFL	FPSCR, F3
	FMOVD	F3, f-8(SP)
	MOVW	-4(SP), R3
	RETURN

TEXT	getfsr(SB), $8
	MOVFL	FPSCR, F3
	FMOVD	F3, f-8(SP)
	MOVW	-4(SP), R3
	RETURN

TEXT	setfcr(SB), $8
	SYNC
	MOVW	R3, -4(SP)
	FMOVD	-8(SP), F3
	MOVFL	F3, FPSCR
	ISYNC
	RETURN

TEXT	setfsr(SB), $8
	SYNC
	MOVW	R3, -4(SP)
	FMOVD	-8(SP), F3
	MOVFL	F3, FPSCR
	ISYNC
	RETURN


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].