摘要 |
A data processing apparatus includes a register file having a set of registers for storing data values for processing by processing circuitry. The apparatus has first shift circuitry arranged to receive a data value from the register and selection circuitry is responsive to a second control signal to select between the first shifted data value and a load data value received from a memory. Second shift circuitry is arranged to receive the data value selected by the selection circuitry and is responsive to a third control signal indicating a second shift amount S2 of a x (n+1) bit positions to generate a second shifted data value by shifting bit values within the received selected data value by the second shift amount S2, where a is zero or an integer. The second shift circuitry is then operable to output the second shifted data value to the register file. |