Question
Data dependence: When an instruction needs data from another instruction that is called a data dependence. Type of data dependencies: RAW read after write. Also
Data dependence: When an instruction needs data from another instruction that is called a data dependence.
Type of data dependencies:
RAW read after write. Also called Flow, True Dependence.
The following dependencies are False or Name dependencies.
WAW write after write. Also called Output Dependence.
WAR write after read. Also called Anti-Dependence
Calculate the data dependencies (RAW, WAR, WAW) of the following three instructions:
I1) OR R1, R2, R3
I2) OR R2, R1, R4
I3) OR R1, R1, R2
For example, if you find a RAW dependency between I1 and I2, say:
RAW on R4 from I1 to I2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started