VEC_VGBBD(ARG1)
Purpose
Performs a gather-bits-by-bytes operation on the given vector.
Class
Elemental function
Argument type and attributes
- ARG1
- An INTENT(IN) VECTOR(UNSIGNED(1)) or VECTOR(SIGNED(1)).
Result type and attributes
The result is of the same type as ARG1.
Result value
Each doubleword element of the result is set as follows:
Let x(i) (0 <= i < 8) denote the byte elements of the corresponding input doubleword element, with x(7) as the most significant byte. For each pair of i and j (0 <= i < 8, 0 <= j < 8), the jth bit of the ith byte element of the result is set to the value of the ith bit of the jth byte element of the input.