Non-instruction base register addressing in a data processing apparatus
First Claim
1. A data processing apparatus comprising:
- (i) a plurality of registers for storing data items to be processed;
(ii) a processor for processing instructions to be applied to data items stored in said plurality of registers;
(iii) register remapping logic for converting a logical register reference within a preselected set of instructions to a physical register reference identifying the register containing the data item required for processing by said processor;
(iv) a repeat instruction for defining a range of instructions to be repeated, said range of instructions comprising said preselected set of instructions; and
(v) loop hardware for managing the repeat instruction and arranged to periodically update the register remapping logic so as to alter the logical register reference to physical register reference applied by said register remapping logic.
4 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a data processing apparatus comprising: a plurality of registers for storing data items to be processed; a processor for processing instructions to be applied to data items stored in said plurality of registers; and register remapping logic for converting a logical register reference within a preselected set of instructions to a physical register reference identifying the register containing the data item required for processing by the processor.
By this approach, a remapping instruction need only be executed once in order for the remapping to be applied to a desired number of instructions. This is in contrast to prior art techniques, where subsequent to a remapping instruction being executed, the remapping is applied to all subsequent instructions, ie. a desired number of instructions cannot be selected.
The invention is particularly advantageously employed in apparatus arranged to repeat an instruction loop, the instruction loop including said preselected set of instructions. In such cases, loop hardware used to manage the repeat instruction can be arranged to update the register remapping logic each time the instruction loop is repeated, and hence the remapping instruction used to configure the register remapping logic is only executed once prior to the repeat instruction being executed.
41 Citations
24 Claims
-
1. A data processing apparatus comprising:
-
(i) a plurality of registers for storing data items to be processed; (ii) a processor for processing instructions to be applied to data items stored in said plurality of registers; (iii) register remapping logic for converting a logical register reference within a preselected set of instructions to a physical register reference identifying the register containing the data item required for processing by said processor; (iv) a repeat instruction for defining a range of instructions to be repeated, said range of instructions comprising said preselected set of instructions; and (v) loop hardware for managing the repeat instruction and arranged to periodically update the register remapping logic so as to alter the logical register reference to physical register reference applied by said register remapping logic. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of operating a data processing apparatus, comprising:
-
(a) storing within a plurality of registers data items to be processed; (b) retrieving from the plurality of registers one or more data items required for processing an instruction; (c) processing the instruction using said one or more data items retrieved; including, if the instruction is one of a preselected set of instructions, employing register remapping logic to convert a logical register reference within said instruction to a physical register reference identifying the register containing the data item required for processing said instruction; (d) defining a range of instructions to be repeated, said range of instructions comprising said preselected set of instructions; and (e) employing loop hardware to manage the repeat instruction and to periodically update said register remapping logic so as to alter the logical register reference to physical register reference conversion applied by the register remapping logic. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
-
-
23. A data processing apparatus comprising:
-
(i) a plurality of registers for storing data items to be processed; (ii) a processor for processing instructions to be applied to data items stored in said plurality of registers; and (iii) hardware register remapping logic for converting a logical register reference within a preselected set of instructions to a physical register reference identifying the register containing the data item required for processing by said processor independent of said processing instructions.
-
-
24. A method of operating a data processing apparatus, comprising:
-
(a) storing within a plurality of registers data items to be processed; (b) retrieving from the plurality of registers one or more data items required for processing an instruction; (c) processing the instruction using said one or more data items retrieved; said retrieving step (b) comprising, for a preselected set of instructions, the additional hardware implemented step of converting a logical register reference within said preselected set of instructions to a physical register reference identifying the register containing the data item required for said processing step (c), independent of said processing instructions.
-
Specification