Version 7 (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

These operations generally have the form r = mvmd<N>::op(a) for each operation op, where a is an operand vectors of N bit fields and r is the corresponding result vector.

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

## Binary Movement Operations

These operations generally have the form r = mvmd<N>::op(a, b) for each operation op, where a and b are operand vectors of N bit fields and r is the corresponding result vector.

 shuffle shuffle ri = at, where t = bi dslli(a) double shift left logical immediate ri = ai+j if i + j <= N/n, bi + j - N/n otherwise dsrli(a) double shift right logical immediate ri = ai + N/n -j if i <= j, bi - j otherwise