摘要 |
<p>The invention relates to an apparatus for permuting data. It comprises a register bank and data processing, permutation and control circuitry. The control circuitry is responsive to program instructions to make the processing circuitry carry out data processing operations and responsive to control-generating instructions which generate (depending upon a bit mask) control signals to configure the permutation circuitry for performing permutation operations on an input operand. The bit-mask is used to indicate a first group of data elements having a first ordering and a second group of data elements having a second ordering within the input operand. The permutation operation is such that it preserves one of the first ordering and second ordering but changes the other. The ordering comprises reversed ordering, the permutation operation is one of an interleave or de-interleave operation, the input operand comprises of a packed vector, and the bit mask is a Boolean register. Further, the permutation circuitry comprises a constant geometry butterfly network where the bit mask defines the pairs of input values that should be swapped.</p> |