
The Cortex-M4 Instruction Set
ARM DUI 0553A
Copyright © 2010 ARM. All rights reserved.
3-128
ID121610
Non-Confidential
3.11.1
VABS
Floating-point Absolute.
Syntax
VABS{
cond
}.F32
Sd
,
Sm
where:
cond
Is an optional condition code, see
.
Sd
,
Sm
Are the destination floating-point value and the operand floating-point value.
Operation
This instruction:
1.
Takes the absolute value of the operand floating-point register.
2.
Places the results in the destination floating-point register.
Restrictions
There are no restrictions.
Condition flags
The floating-point instruction clears the sign bit.
Examples
VABS.F32 S4, S6