Question: 11 a) Discuss the Bernstein`s conditions for checking the parallelism among a set of processes. b) Analyze the data dependences among the following statements and
11 a) Discuss the Bernstein`s conditions for checking the parallelism among a set of processes.
b) Analyze the data dependences among the following statements and construct a dependency graph. Also detect the parallelism embedded in them.
S1 : Load R1 , M(100) / R1 ? Memory(100) /
S2 : Move R2 , R1 / R2 ? (R1 ) /
S3 : Inc R1 / R1 ? (R1 ) + 1 /
S4 : Add R2 , R1 / R2 ? (R2 ) + (R1) /
S5 : Store M(100), R1 / Memory(100) ? (R1) /
Step by Step Solution
3.46 Rating (146 Votes )
There are 3 Steps involved in it
The detailed ... View full answer
Get step-by-step solutions from verified subject matter experts
