摘要 |
Disclosed is a method of multi-stage register renaming using dependency removal. The first stage of the method involves removing all the dependencies within a set of instructions using a fixed hardware mapping. The final stage then renames all registers in parallel using a renaming map. The dependencies may be removed by renaming all destination registers and any dependent registers with one of a set of additional registers using the fixed mapping, then passing the details of which additional register was used to the final stage. The fixed mapping between destination and additional registers may be based on the physical position of the destination registers. The final stage may include updating the renaming map, which may include updating entries in the renaming map associated with each destination register based on details passed from the first stage and updating the entries in the renaming map associated with each additional register to map them to unassigned physical registers. |