2. (25 points) The following table shows the number of instructions for a program. Arithmetic 550...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. (25 points) The following table shows the number of instructions for a program. Arithmetic 550 Memory 100 Branch 150 Total 800 a. (5 points) Assuming that arithmetic instructions take 2 cycle, memory operations 6 cycles, and branch operations 3 cycles, what is the execution time of the program in a 2.2 GHz processor? b. (5 points) What is the CPI for the program? C. (5 points) If a compiler technique can reduce the number of memory instructions by 40%, what is the speed-up and the new CPI? d. (10 points) On top of the compiler technique from C, if a new ALU device can reduce the average cycles of arithmetic instructions down to 1.6 cycles per instruction, what is the speed-up and the new CPI from the two techniques combined (the compiler technique and the ALU device)? 2. (25 points) The following table shows the number of instructions for a program. Arithmetic 550 Memory 100 Branch 150 Total 800 a. (5 points) Assuming that arithmetic instructions take 2 cycle, memory operations 6 cycles, and branch operations 3 cycles, what is the execution time of the program in a 2.2 GHz processor? b. (5 points) What is the CPI for the program? C. (5 points) If a compiler technique can reduce the number of memory instructions by 40%, what is the speed-up and the new CPI? d. (10 points) On top of the compiler technique from C, if a new ALU device can reduce the average cycles of arithmetic instructions down to 1.6 cycles per instruction, what is the speed-up and the new CPI from the two techniques combined (the compiler technique and the ALU device)?
Expert Answer:
Answer rating: 100% (QA)
aArithmetic instructions 550 x 2 1100 cycles Memory operations 100 x 6 600 cycles Bra... View the full 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 programming questions
-
Describe how to construct the function cpo ((D E), v) of two cpos (D, vD) and (E, vE). Prove that ((D E), v) is a cpo. (You may use facts about least upper bounds provided you state them clearly.)...
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
On December 31, 2021, Tiny Tims Tech, Inc. a private company who follows ASPE, leased a colour copier from Cory Copy Corporation at a price of $479,079. The lease agreement specifies annual payments...
-
Suppose Dagwood (Blondie's husband) wants to eat a sandwich but needs to go on a diet. Dagwood decides to let the flip of a coin determine whether he eats. Using an unbiased coin, Dagwood will...
-
Copper(ii) sulfate crystals exist as the pentahydrate, CuSO 4 .5H 2 O. It is a salt hydrate. If it is heated quite strongly, the water of crystallisation is driven off and the anhydrous salt remains....
-
Reconsider Parts (a) through (f) of Problem 2. For each "true" statement, develop a mathematical proof based on the time value of money factor equations from Table 2.6 in Chapter 2. Data from problem...
-
Monte Services, Inc. is trying to establish the standard labor cost of a typical oil change. The following data have been collected from time and motion studies conducted over the past month. Actual...
-
3. a) Derive D = 4x using solid state diffusion theory b) Calculate the binary O2/N2 gas diffusivity at T = 300K and compare it to the pure 02 self- diffusivity. The molecular diameter of N2 is...
-
For this question, please document step-by-step how you are solving the problem as you do it. Include the steps you are taking and why, what you are thinking about as you solve the problem, and how...
-
The CEO of Starbucks company wants to review the performance of the company in different countries during 2020. He knows that in 2020, the performance in all countries was affected by the COVID-19...
-
1. Explain the difference between hard and soft power. 2. Select 1 country from the list (see excel sheet in the Assignments folder), indicate on the sheet (no duplication), and identify with clear...
-
Mr.Mukund, who heads the production himself, developed an efficient top management group which includes Mr. Prem Heading marketing, Mrs. Mrunal leading HR and T&D, Mr.Vaidya leading Finance. All...
-
Choose the appropriate rule for the graph. Assume that dotted endpoints are included, and that undotted ones are not. Choose the appropriate rule for the graph below. OA. f(x) = { 2x + 2 - 1 2x+2 if...
-
The design for a full-adder shown in the figure below is used in the implementation of an 8-bit ripple carry adder in a processor ALU. The gates used in the full adder implementation have different...
-
Enzyme kinetics were also performed with respect to NADPH as the substrate (Figure 8). Again, the data are presented as a Lineweaver-urk plot. What kind of inhibitor is mevastatin with respect to...
-
Independent random samples of sizes n1 = 30 and n2 = 50 are taken from two normal populations having the means 1 = 78 and 2 = 75 and the variances 21 = 150 and 22 = 200. Use the results of Exercise...
-
Let us assume that processor testing is done by illing the PC, registers, and data and instruction memories with some values (you can choose which values), letting a single instruction execute, then...
-
In the following problems, the data table contains the values of various fields of MIPS instructions. You will be asked to determine what the instruction is, and find the MIPS format for the...
-
Simulate a random replacement policy by lipping a coin. For example, heads means to evict the first block in a set and tails means to evict the second block in a set. How many hits does this address...
-
A strain rosette consisting of three strain gauges was used to measure the strains at a point in a thin plate of dimensions \(100 \times 20 \times 1 \mathrm{~mm}\). The measured strains in the three...
-
A particle of mass \(m\) slides inside a smooth hemispherical bowl of radius \(R\). Beginning with spherical coordinates \(r, \theta\) and \(\varphi\) to describe the dynamics, select generalized...
-
A small block of mass \(m\) and a weight of mass \(M\) are connected by a string of length \(D\). The string has been threaded through a small hole in a tabletop, so the block can slide without...
Study smarter with the SolutionInn App