Register renaming is done in pipelined processors –
20122022
Register renaming is done in pipelined processors –
- A.
As an alternative to register allocation at compile time
- B.
For efficient access to function parameters and local variables
- C.
To handle certain kind of hazards
- D.
As part of address translation
Attempted by 264 students.
Show answer & explanation
Correct answer: C
Register renaming is a technique used in pipelined processors to eliminate false data dependencies (WAR and WAW hazards) that can cause pipeline stalls. By assigning different physical registers to logical registers, the processor can execute instructions out of order without violating data flow. This allows for improved performance by enabling parallel execution of independent instructions. Register renaming is not related to compile-time allocation, function parameter access, or address translation.
A video solution is available for this question — log in and enroll to watch it.