CPC G06F 9/30101 (2013.01) [G06F 9/30145 (2013.01); G06F 9/384 (2013.01); G06F 9/3856 (2023.08)] | 16 Claims |
1. A method for renaming architectural register, comprising:
decoding one or more instructions in a pipeline, wherein the one or more instructions update a control and status register (CSR), wherein the one or more instructions are of a same type, and the CSR includes a first register and a second register;
updating values in the CSR based on a respective instruction of the one or more instructions;
allocating one or more tags to the respective instruction in the pipeline,
wherein the one or more tags identify the CSR included in or associated with the one or more instructions or the updated values of the CSR, and
wherein each of the one or more tags is associated with a unique value; and
writing, for renaming the CSR, values of the first register and the second register into a mapping table as one combined unit such that the values of the first register and the second register are reduced to a single entry.
|