The STM32 Cortex-M4 instruction set PM0214
176/262 PM0214 Rev 9
3.10.26 VSQRT
Floating-point Square Root.
Syntax
VSQRT{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. Calculates the square root of the value in a floating-point register.
2. Writes the result to another floating-point register.
Restrictions
There are no restrictions.
Condition flags
These instructions do not change the flags.