Question
Fill in the branch execution table with an N for not taken and a T for taken. This table is recording the execution pattern for
Fill in the branch execution table with an N for not taken and a T for taken. This table is recording the execution pattern for each (static) branch instruction. Use the execution trace on Page 2. Branch Execution - Assume No Branch Prediction: Branch Instruction Branch Instruction Execution (dynamic executions of each branch) No.(i.e.Line#) 1 2 3 4 5 6 7 8 9 10 4 6 9 13 15 17 Using the branch execution table above to calculate the statistics requested in the following table. Branch Execution Statistics: BranchInstr.No. TimesExecuted 4 6 9 13 15 17 TimesTaken TimesNotTaken %Taken %NotTaken 2. How many cycles does the trace take to execute (include all pipeline fill and drain cycles)? [Hint: you dont need to physically simulate the execution trace, just compute the cycle count.]
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