1. For this problem, assume that each instruction takes the same number of cycles, and use...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. For this problem, assume that each instruction takes the same number of cycles, and use the code listed below. Loop: xor $r0, $r0, $r0 mov $r2, #4 jmp L1 mul $r3, $r3, $r1 add $r4, $r4, $r1 ld $r5, [$r3] sub $r5, $r5, #35 st [$r6], $r5 add $r0, $r0, #31 L1: bne $r0, $r2, Loop mov $r1, $r2 (a) [3 points] How many instructions does this program execute (there might be several iterations)? What is the total number of memory type instructions (load and store instructions)? What is the proportion of memory instructions? (b) [2 points] Assume we can get a 10 speedup for memory instructions by employing a new memory technology. What is the overall speedup for the entire program? (c) [2 points] In the future, we can make the memory instructions as fast as we want. When we run the same program with the new memory, what is the maximum possible theoretical overall speediup for this program? 1. For this problem, assume that each instruction takes the same number of cycles, and use the code listed below. Loop: xor $r0, $r0, $r0 mov $r2, #4 jmp L1 mul $r3, $r3, $r1 add $r4, $r4, $r1 ld $r5, [$r3] sub $r5, $r5, #35 st [$r6], $r5 add $r0, $r0, #31 L1: bne $r0, $r2, Loop mov $r1, $r2 (a) [3 points] How many instructions does this program execute (there might be several iterations)? What is the total number of memory type instructions (load and store instructions)? What is the proportion of memory instructions? (b) [2 points] Assume we can get a 10 speedup for memory instructions by employing a new memory technology. What is the overall speedup for the entire program? (c) [2 points] In the future, we can make the memory instructions as fast as we want. When we run the same program with the new memory, what is the maximum possible theoretical overall speediup for this program?
Expert Answer:
Related Book For
Computer Organization And Design The Hardware Software Interface
ISBN: 9780123747501
4th Revised Edition
Authors: David A. Patterson, John L. Hennessy
Posted Date:
Students also viewed these computer network questions
-
QS 1 2 - 6 ( Algo ) Indirect: Computing cash from operations LO P 2 MOSS COMPANY Income Statement For Year Ended December 3 1 , 2 0 2 1 Sales $ 5 4 0 , 0 0 0 Cost of goods sold 3 4 1 , 6 0 0 Gross...
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
A 35 ft3 rigid tank has air at 225 psia and ambient 600 R connected by a valve to a piston cylinder. The piston of area 1 ft2 requires 40 psia below it to float, Fig. P3.99. The valve is opened and...
-
Show that p | q is logically equivalent to (p q).
-
An alpha particle, which consists of two neutrons and two protons, has a mass of \(6.645 \times 10^{-27} \mathrm{~kg}\) and a charge of \(2 e\). What is the de Broglie wavelength of an alpha particle...
-
Why are most current liabilities recognized at maturity value at the beginning of their term?
-
The following auditors report was drafted by a staff accountant of Nathan and Matthew, CPAs, at the completion of the audit of the comparative financial statements of Monterey Partnership for the...
-
of 3 Dok Required information [The following information applies to the questions displayed below] A manufactured product has the following information for June. Direct materials Direct labor...
-
1. Which of the following matrices are row echelon matrices? 2 5 0 1 0 9 4359 A = B= C = 9 0 0 0 0 0 0 7 4 0 0 3 0 1 60 1 0 0 0 1 4 1 0 0 8 8 E = 0 1 D = 0 0 1 F = 0 0 0 0 0 0 0 0 1 0 6 6 0 0 0 0 0 0...
-
Using the IST Linux system create the following Java command line application in your home area Lab7.java. Accept user input from the command line and check for an integer type and handle the...
-
What 3 strategies can most affect rapidgrowth in an entrepreneurial venture? Explain your reasoning. What 3 traits of an entrepreneurcan most positively affect entrepreneurial growth? Explain your...
-
Beginning inventory $46,000 $ 75,000 Cost of goods purchased 328,000 273,750 Cost of goods available for sale 374,000 348,750 Ending inventory 74,000 75,000 Cost of goods sold $300,000 $273,750 1)...
-
What strategies should banks employ to protect against sophisticated cyber threats, and how do these strategies evolve to address emerging risks ?
-
On a business trip, if two days in spent in travel, nine days is spent conducting business, and five days is spent with friends, how can I deduct the following expenses? Airfare $ 490 Lodging 2,900...
-
- ABC Co. and XYZ Co. are identical firms in all respects except for their capital structure. ABC is all equity financed with $750,000 in stock. XYZ uses both stock and perpetual debt; its stock is...
-
Why is it important to understand the macro-environment when making decisions about an international retail venture?
-
For each application in the table, is I/O performance best measured using the number of transactions processed? Metrics for I/O performance may vary dramatically from application to application....
-
The following table shows the number of instructions for a program. Find the CPI for the program. a. b. Arith 650 750 Store 100 250 Load 600 500 Branch 50 500 Total 1400 2000
-
Using a table similar to that shown in Figure 3.11, calculate A divided by B using non-performing division. You should show the contents of each register on each step. Assume A and B are 6-bit...
-
What are Howard M. Schilit's seven financial shenanigans?
-
Research the Sarbanes-Oxley Act and read about the debate that led up to its passage. Based on your research: a. Is there consensus on whether Sarbanes is good law? b. What did you read about those...
-
The amount of financial reporting fraud in business seems staggering. What do you believe has contributed to financial statement fraud's growth?
Study smarter with the SolutionInn App