The STM32 Cortex-M4 instruction set
3.10
Floating-point instructions
These instructions are only available if the FPU is included, and enabled, in the system. See
Enabling the FPU on page 256
Mnemonic
VABS
VADD
VCMP
VCMPE
VCVT
VCVT
VCVTR
VCVTB
VCVTT
VDIV
VFMA
VFNMA
VFMS
VFNMS
VLDM
VLDR
VLMA
VLMS
VMOV
VMOV
VMOV
VMOV
VMOV
VMOV
148/260
for information about enabling the floating-point unit.
Table 34. Floating-point instructions
Brief description
Floating-point Absolute
Floating-point Add
Compare two floating-point registers, or one floating-
point register and zero
Compare two floating-point registers, or one floating-
point register and zero with Invalid Operation check
Convert between floating-point and integer
Convert between floating-point and fixed point
Convert between floating-point and integer with
rounding
Converts half-precision value to single-precision
Converts single-precision register to half-precision
Floating-point Divide
Floating-point Fused Multiply Accumulate
Floating-point Fused Negate Multiply Accumulate
Floating-point Fused Multiply Subtract
Floating-point Fused Negate Multiply Subtract
Load Multiple extension registers
Loads an extension register from memory
Floating-point Multiply Accumulate
Floating-point Multiply Subtract
Floating-point Move Immediate
Floating-point Move Register
Copy ARM core register to single precision
Copy 2 ARM core registers to 2 single precision
Copies between ARM core register to scalar
Copies between Scalar to ARM core register
DocID022708 Rev 6
See
VABS on page 150
VADD on page 151
VCMP, VCMPE on page 152
VCMP, VCMPE on page 152
VCVT, VCVTR between floating-
point and integer on page 153
VCVT between floating-point
and fixed-point on page 154
VCVT, VCVTR between floating-
point and integer on page 153
VCVTB, VCVTT on page 155
VCVTB, VCVTT on page 155
VDIV on page 156
VFMA, VFMS on page 157
VFNMA, VFNMS on page 158
VFMA, VFMS on page 157
VFNMA, VFNMS on page 158
VLDM on page 159
VLDR on page 160
VLMA, VLMS on page 161
VLMA, VLMS on page 161
VMOV immediate on page 162
VMOV register on page 163
VMOV scalar to ARM core
register on page 164
VMOV ARM core register to
single precision on page 165
VMOV two ARM core registers
to two single precision on
page 166
VMOV ARM Core register to
scalar on page 167
PM0214
Need help?
Do you have a question about the STM32F4 Series and is the answer not in the manual?
Questions and answers