VTBL, VTBX

VTBL (Vector Table Lookup) uses byte indexes in a control vector to look up byte values in a table and generate a new vector. Indexes out of range return 0.

VTBX (Vector Table Extension) works in the same way, except that indexes out of range leave the destination element unchanged.

Show/hideSyntax

Vop{cond}.8 Dd, list, Dm

where:

op

must be either TBL or TBX.

cond

is an optional condition code.

Dd

specifies the destination vector.

list

Specifies the vectors containing the table. It must be one of:

  • {Dn}

  • {Dn,D(n+1)}

  • {Dn,D(n+1),D(n+2)}

  • {Dn,D(n+1),D(n+2),D(n+3)}

  • {Qn,Q(n+1)}.

All the registers in list must be in the range D0-D31 or Q0-Q15 and must not wraparound the end of the register bank. For example {D31,D0,D1} is not permitted. If list contains Q registers, they disassemble to the equivalent D registers.

Dm

specifies the index vector.

Show/hideSee also

Reference:
Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0489C
Non-ConfidentialID080411