The STM32 Cortex-M4 instruction set PM0214
172/262 PM0214 Rev 9
3.10.22 VNEG
Floating-point Negate.
Syntax
VNEG{cond}.F32 Sd, Sm
Where:
• ‘cond’ is an optional condition code, see Conditional execution on page 65.
• ‘Sd’ is the destination floating-point value
• ‘Sm’ is the operand floating-point value.
Operation
This instruction:
1. Negates a floating-point value.
2. Places the results in a second floating-point register.
3. The floating-point instruction inverts the sign bit.
Restrictions
There are no restrictions.
Condition flags
These instructions do not change the flags.