14.73 VMSR

Transfer contents of a general-purpose register to an Advanced SIMD system register.

Syntax

VMSR{cond} extsysreg, Rd

where:

cond
is an optional condition code.
extsysreg
is the Advanced SIMD and floating-point system register, usually FPSCR, FPSID, or FPEXC.
Rd

is the general-purpose register. Rd must not be PC.

It can be APSR_nzcv, if extsysreg is FPSCR. In this case, the floating-point status flags are transferred into the corresponding flags in the special-purpose APSR.

Usage

The VMSR instruction transfers the contents of Rd into extsysreg.

Note:

The instruction stalls the processor until all current Advanced SIMD operations complete.

Example

    VMSR    FPSCR, r4
Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.