Question: Q 1 [ 4 0 ] : Assume the computer has a pool of temporary registers. Consider the code sequence in Figure 3 . 4

Q1[40]: Assume the computer has a pool of temporary registers. Consider the code
sequence in Figure 3.48(page 269). Use register renaming to remove all the WAR and
WAW hazards, beginning with temporary register T5. Note: data dependences must be
maintained; and name (anti and output) dependences should be eliminated. The second
instruction (I0) should be "fmul.d f4, f0, f2"; and the last instruction (I5) should be "fsd
flo, 0(Ry)".
Figure 3.48 Sample code for register renaming practice.
 Q1[40]: Assume the computer has a pool of temporary registers. Consider

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!