Non-Confidential | PDF version | DUI0801J | ||

| ||||

Home > Advanced SIMD Instructions (32-bit) > VACLE, VACLT, VACGE and VACGT |

Vector Absolute Compare.

`VAC`

{`op`

}`cond`

`.F32`

{

}, `Qd`

,
`Qn`

`Qm`

`VAC`

{`op`

}`cond`

`.F32`

{

}, `Dd`

,
`Dn`

`Dm`

where:

`op`

must be one of:

`GE`

Absolute Greater than or Equal.

`GT`

Absolute Greater Than.

`LE`

Absolute Less than or Equal.

`LT`

Absolute Less Than.

`cond`

is an optional condition code.

`Qd`

,`Qn`

,`Qm`

specifies the destination register, the first operand register, and the second operand register, for a quadword operation.

`Dd`

,`Dn`

,`Dm`

specifies the destination register, the first operand register, and the second operand register, for a doubleword operation.

The result datatype is `I32`

.

These instructions take the absolute value of each element in a vector, and compare it with the absolute value of the corresponding element of a second vector. If the condition is true, the corresponding element in the destination vector is set to all ones. Otherwise, it is set to all zeros.

On disassembly, the `VACLE`

and `VACLT`

pseudo-instructions
are disassembled to the corresponding `VACGE`

and `VACGT`

instructions, with the operands reversed.