| |||
| Home > NEON and VFP Programming > Instructions shared by NEON and VFP > MRS and MSR | |||
Transfer contents between an ARM register and a NEON / VFP status register.
MRS{cond} Rd, VFPsysreg
MSR{cond}VFPsysreg,Rd
where:
condis an optional condition code (see Condition codes).
VFPsysregis the VFP system register, usually FPSCR, FPSID,
or FPEXC (see VFP registers).
Rdis the ARM register. must
not be r15.Rd
It can be APSR_nzcv, if is VFPsysregFPSCR.
In this case, the floating-point status flags are transferred into
the corresponding flags in the ARM CPSR.
The MRS instruction transfers the contents of into VFPsysreg. Rd
The MSR instruction transfers the contents of into Rd.VFPsysreg
These instructions stall the ARM until all current NEON / VFP operations complete.