The Cortex-M4 Instruction Set
ARM DUI 0553A Copyright © 2010 ARM. All rights reserved. 3-126
ID121610 Non-Confidential
3.11 Floating-point instructions
Table 3-15 shows the floating-point instructions.
These instructions are only available if the FPU is included, and enabled, in the system. See
Enabling the FPU on page 4-52 for information about enabling the floating-point unit.
Table 3-15 Floating-point instructions
Mnemonic Brief description See
VABS
Floating-point Absolute VABS on page 3-128
VADD
Floating-point Add VADD on page 3-129
VCMP
Compare two floating-point registers, or one floating-point
register and zero
VCMP, VCMPE on page 3-130
VCMPE
Compare two floating-point registers, or one floating-point
register and zero with Invalid Operation check
VCMP, VCMPE on page 3-130
VCVT
Convert between floating-point and integer VCVT, VCVTR between floating-point and integer on
page 3-131
VCVT
Convert between floating-point and fixed point VCVT between floating-point and fixed-point on
page 3-132
VCVTR
Convert between floating-point and integer with rounding VCVT, VCVTR between floating-point and integer on
page 3-131
VCVTB
Converts half-precision value to single-precision VCVTB, VCVTT on page 3-133
VCVTT
Converts single-precision register to half-precision VCVTB, VCVTT on page 3-133
VDIV
Floating-point Divide VDIV on page 3-134
VFMA
Floating-point Fused Multiply Accumulate VFMA, VFMS on page 3-135
VFNMA
Floating-point Fused Negate Multiply Accumulate VFNMA, VFNMS on page 3-136
VFMS
Floating-point Fused Multiply Subtract VFMA, VFMS on page 3-135
VFNMS
Floating-point Fused Negate Multiply Subtract VFNMA, VFNMS on page 3-136
VLDM
Load Multiple extension registers VLDM on page 3-137
VLDR
Loads an extension register from memory VLDR on page 3-138
VLMA
Floating-point Multiply Accumulate VLMA, VLMS on page 3-139
VLMS
Floating-point Multiply Subtract VLMA, VLMS on page 3-139
VMOV
Floating-point Move Immediate VMOV Immediate on page 3-140
VMOV
Floating-point Move Register VMOV Register on page 3-141
VMOV
Copy ARM core register to single precision VMOV ARM Core register to single precision on
page 3-143
VMOV
Copy 2 ARM core registers to 2 single precision VMOV Two ARM Core registers to two single precision
on page 3-144