Vfma, Vfms - ST STM32F4 Series Programming Manual

Cortex-m4
Hide thumbs Also See for STM32F4 Series:
Table of Contents

Advertisement

PM0214
3.10.8

VFMA, VFMS

Floating-point Fused Multiply Accumulate and Subtract.
Syntax
VFMA{cond}.F32 {Sd,} Sn, Sm
VFMS{cond}.F32 {Sd,} Sn, Sm
Where:
'cond' is an optional condition code, see
'Sd' is the destination register
'Sn, Sm' are the operand registers.
Operation
The VFMA instruction:
1.
Multiplies the floating-point values in the operand registers.
2.
Accumulates the results into the destination register.
3.
The result of the multiply is not rounded before the accumulation.
The VFMS instruction:
1.
Negates the first operand register.
2.
Multiplies the floating-point values of the first and second operand registers.
3.
Adds the products to the destination register.
4.
Places the results in the destination register.
5.
The result of the multiply is not rounded before the addition.
Restrictions
There are no restrictions.
Condition flags
These instructions do not change the flags.
Conditional execution on page
DocID022708 Rev 6
The STM32 Cortex-M4 instruction set
64.
157/260
259

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F4 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32l4+ seriesStm32f3 series

Table of Contents

Save PDF