1. Consider the following program: 11 12 13 14 15 16 17 (R1 = R2) goto...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Consider the following program: 11 12 13 14 15 16 17 (R1 = R2) goto X // goto is jump instruction that branches to the label X R10 = [R11] R14 R10 R10 X: R4 R1+R2 R1 = [R4] R2 R3 - R5 R1 R1 + R10 Instruction = 5 stages. Stage = 6ns. Pipelining is implemented using prediction. The prediction is that R1 # R2. However, when the program is executed, R1 = R2. a. Draw the pipelining diagram for the program. Justify briefly your decisions b. Find the total time of execution after pipelining in a c. Redraw the pipelining diagram for the program when the prediction is correct. Justify briefly your decisions d. Find the total time of execution after pipelining in c e. Find the percentage saving in the case when the prediction is correct 1. Consider the following program: 11 12 13 14 15 16 17 (R1 = R2) goto X // goto is jump instruction that branches to the label X R10 = [R11] R14 R10 R10 X: R4 R1+R2 R1 = [R4] R2 R3 - R5 R1 R1 + R10 Instruction = 5 stages. Stage = 6ns. Pipelining is implemented using prediction. The prediction is that R1 # R2. However, when the program is executed, R1 = R2. a. Draw the pipelining diagram for the program. Justify briefly your decisions b. Find the total time of execution after pipelining in a c. Redraw the pipelining diagram for the program when the prediction is correct. Justify briefly your decisions d. Find the total time of execution after pipelining in c e. Find the percentage saving in the case when the prediction is correct
Expert Answer:
Related Book For
Computer Organization and Design The Hardware Software Interface
ISBN: 978-0124077263
5th edition
Authors: David A. Patterson, John L. Hennessy
Posted Date:
Students also viewed these programming questions
-
Arbitration, mediation, reference to a third person , an association tribunal, summary jury trial, rent-a-judge, minitrials and judicial triage, are all forms of what is known as?
-
(yzdx+xzdy + xydz) is equal to where C is intersection of x + y +2=1 and x = 1 - 0 none
-
1. What trade- offs are involved in deciding to have a single large, centrally located facility instead of several smaller, dispersed facilities? 2. Who needs to be involved in facility location...
-
The Minneapolis Star Tribune (August 12, 2008) reported that 73% of Americans say that Starbucks coffee is overpriced. The source of this information was a national telephone survey of 1,000 American...
-
Alpha Company is considering the purchase of Beta Company. Alpha has collected the following data about Beta: Cumulative total net cash earnings for the past five years of $850,000 includes...
-
Consider an asset whose price follows the geometric Brownian motion process where \(z\) is a standard Wiener process. (a) At time \(t\) (when \(S(t)\) is known), what is the expected value of the...
-
Action, Inc., had the following sales and purchase transactions during 2013. Beginning inventory consisted of 120 items at $80 each. Action uses the FIFO cost flow assumption and keeps perpetual...
-
A block placed under the head of the claw hammer as shown greatly facilitates the extraction of the nail. If a 47-lb pull on the handle is required to pull the nail, calculate the tension T in the...
-
Suppose you take out a margin loan for $75,000. You pay a 6.4 percent effective rate. If you repay the loan in two months, how much interest will you pay?
-
8. Short-run and long-run effects of a shift in demand Suppose that the tuna industry is in long-run equilibrium at a price of $5 per can of tuna and a quantity of 350 million cans per year. Suppose...
-
A, B, and C are three similar plants under the same management who wants to merge them for better operation. The details are as under: You have to find out: (i) the capacity of the merged plant for...
-
Small Ltd. has been offered a choice to buy one out of two machines, A and B. You are required to compute: (a) Break-even point for each of the machines. (b) The level of sales at which both machines...
-
ABC Company Ltd. expects the following sales by months in units for the first six months of next year. The company has a policy of maintaining an inventory equal to budgeted sales for the following...
-
The Royal Industries Ltd. has prepared its annual sales forecast, expecting to achieve sales of 30,00,000 next year. The controller is uncertain about the pattern of sales to be expected by month and...
-
For the DOS, we are interested in how MS and gender are related with the depression outcome. Based on the logistic model: Dep \(\sim\) MS | Gender (MS, Gender, and their interaction), answer the...
-
If three dice are thrown simultaneously, then the probability of getting a score of 5 is 1. 5/216 2. 1/6 3. 1/36 4. 1/72 5. 1/18
-
Place a tick in the appropriate grid to identify the balance that would be brought down in each of the following named accounts, in the books of Rizwy Mohamed: (a) In the Cash account: if Rizwy...
-
Write down the binary bit pattern to represent -1.5625 10 -1 assuming a format similar to that employed by the DEC PDP-8 (the left most 12 bits are the exponent stored as a twos complement number,...
-
Chip multiprocessors (CMPs) have multiple cores and their caches on a single chip. CMP on-chip L2 cache design has interesting trade-off s. Th e following table shows the miss rates and hit latencies...
-
Write down the binary representation of the decimal number 63.25 assuming the IEEE 754 double precision format.
-
Give an example of a local wind pattern. Give an example of a global wind pattern.
-
What drives surface currents?
-
Do surface currents affect water temperature, air temperature, or both?
Study smarter with the SolutionInn App