5.14.4. Modifying individual bits of a NEON and VFP system register

To change some bits of a NEON and VFP system register without affecting other bits, use a read-modify-write procedure similar to the following example:

    VMRS    r10,FPSCR           ; copy FPSCR into r10
    BIC     r10,r10,#0x00370000 ; clears STRIDE and LEN
    ORR     r10,r10,#0x00030000 ; sets STRIDE = 1, LEN = 4
    VMSR    FPSCR,r10           ; copy r10 back into FPSCR

See VMRS and VMSR.

Copyright © 2002-2010 ARM. All rights reserved.ARM DUI 0204J
Non-ConfidentialID101213