Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/ape/lib/ap/arm/getfcr.s
TEXT setfcr(SB), $4 MOVW R0, FPCR RET TEXT getfcr(SB), $4 MOVW FPCR, R0 RET TEXT getfsr(SB), $0 MOVW FPSR, R0 RET TEXT setfsr(SB), $0 MOVW R0, FPSR RET