Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2) [10] Consider following loop: r2, e (r2) r2, re, LOOP r2, r2, r3 r2, 0 (r5) Loop: LW BEQ OR SW Assume that there
2) [10] Consider following loop: r2, e (r2) r2, re, LOOP r2, r2, r3 r2, 0 (r5) Loop: LW BEQ OR SW Assume that there is no delay slot and the nextPC in located in ID stage. Also assume that the loop is iterated for 100 times. Draw the pipeline diagram for the first 2 iterations a) CSE661 H4: ILP Due: 28/3/2018 b) How many cycles does is take to complete the instruction sequence? If a one bit branch predictor is used, which is initialized to N(i.e. branch not taken), how many correct and wrong predictions that it will produce? c) 2) [10] Consider following loop: r2, e (r2) r2, re, LOOP r2, r2, r3 r2, 0 (r5) Loop: LW BEQ OR SW Assume that there is no delay slot and the nextPC in located in ID stage. Also assume that the loop is iterated for 100 times. Draw the pipeline diagram for the first 2 iterations a) CSE661 H4: ILP Due: 28/3/2018 b) How many cycles does is take to complete the instruction sequence? If a one bit branch predictor is used, which is initialized to N(i.e. branch not taken), how many correct and wrong predictions that it will produce? c)
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