Question: A true data dependency is said to exist when an instruction writes a register that is required as an input by a following instruction. An
A true data dependency is said to exist when an instruction writes a register that is required as an input by a following instruction. An antidependency occurs if an instruction overwrites a register that is required as an input by an earlier instruction. If two or more instructions write a result to the same register, the register writes must be performed in the correct order; this is called an output dependency. One of the three terms WAR WAW or RAW can be used as an alternate name for each of these three types of dependencies.
Consider the following instruction sequence containing instructions that execute on a superscalar system allowing out of order instruction execution.
lui $x
lw $$
add $ $ $
addiu $ $
sw $$
sll $ $
addiu $ $
Complete the table below by filling in the blank entries to identify the register involved in each possible data dependency, the type of data dependency WAR WAW or RAW the two instructions involved in the dependency and whether register renaming can eliminate the dependency. For each instruction that makes use of a renamed register, show the complete instruction with the new register name substituted. Choose the next higher unused register name for the next register that is renamed. For example: $ $ $ $ etc. can be used to rename registers where needed.
Minimum clock rate required for the stage scalar pipeline
b After the superpipeline fills, what is the minimum number of nanoseconds required to complete independent Rtype instructions on a degree superpipelined system running at a clock rate of GHz
Register
WAR WAW or RAW
First instruction
Second instruction
Reg. renaming works? yes or no
Instruction with renamed register
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
