You copied the Doc URL to your clipboard.

Floating-point instructions that update the condition flags

The only A32/T32 floating-point instructions that can update the condition flags are VCMP and VCMPE. Other floating-point or Advanced SIMD instructions cannot modify the flags.

VCMP and VCMPE do not update the flags directly, but update a separate set of flags in the Floating-Point Status and Control Register (FPSCR). To use these flags to control conditional instructions, including conditional floating-point instructions, you must first update the condition flags yourself. To do this, copy the flags from the FPSCR into the APSR using a VMRS instruction:

VMRS APSR_nzcv, FPSCR

All A64 floating-point comparison instructions can update the condition flags. These instructions update the flags directly in the NZCV register.

Was this page helpful? Yes No