You copied the Doc URL to your clipboard.

14.8 VABS

Vector Absolute

Syntax

VABS{cond}.datatype Qd, Qm

VABS{cond}.datatype Dd, Dm

where:

cond

is an optional condition code.

datatype

must be one of S8, S16, S32,or F32.

Qd, Qm

are the destination vector and the operand vector,for a quadword operation.

Dd, Dm

are the destination vector and the operand vector,for a doubleword operation.

Operation

VABS takes the absolute value of each element in a vector, and places the results in a second vector. (The floating-point version only clears the sign bit.)

Was this page helpful? Yes No