wiki:IDISA_Movement

Version 6 (modified by cameron, 8 years ago) (diff)

--

IDISA Field Movement Operations

The tables below list the various IDISA field movement operations on vectors of N-bit fields, together with their description and semantic specification.

An important characteristic of these operations is that fields may be moved or rearranged in various ways, but the contents of the fields remain unchanged.

Unary Movement Operations

splat<j>(a) splat ri = aj
slli<j>(a) shift left logical immediate ri = ai+j if i + j <= N/n, 0 otherwise
srli<j>(a) shift right logical immediate ri = ai-j if i >= j, 0 otherwise
shufflei<m>(a) shuffle immediate ri = at, where t = index(m, i)

Binary Movement Operations

shuffle(a, b) shuffle ri = at, where t = bi