| |||

Home > NEON and VFP Programming > NEON general data processing instructions > VREV |

`VREV16`

(Vector Reverse within halfwords) reverses
the order of 8-bit elements within each halfword of the vector,
and places the result in the corresponding destination vector.

`VREV32`

(Vector Reverse within words) reverses
the order of 8-bit or 16-bit elements within each word of the vector,
and places the result in the corresponding destination vector.

`VREV64`

(Vector Reverse within doublewords) reverses
the order of 8-bit, 16-bit, or 32-bit elements within each doubleword
of the vector, and places the result in the corresponding destination
vector.

VREV{`n`

}.`cond`

`size`

,`Qd`

`Qm`

VREV{`n`

}.`cond`

`size`

,`Dd`

`Dm`

where:

`n`

must be one of

`16`

,`32`

, or`64`

.`cond`

is an optional condition code (see

*Condition codes*).`size`

must be one of

`8`

,`16`

, or`32`

, and must be less than

.`n`

`Qd, Qm`

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

`Dd, Dm`

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