Question

In: Computer Science

Consider two different implementations of the same ISA. There are four classes of instructions, Arithmetic, Store,...

Consider two different implementations of the same ISA. There are four classes of instructions, Arithmetic, Store, Load, and Branch. The clock rate and CPI of each implementation are given in the following table.

             Clock Rate                  CPI-Arithmetic CPI-Store             CPI-Load    CPI-Branch

P1           2.0 GHz                        1                                     2 3                                4

P2           2.5 GHz                        2    2 2                             2

Given a program with 10^6 instructions divided into classes as follows: 10% Arithmetic, 20% Store, 50% Load, and 20% Branch, which implementation is faster?

Solutions

Expert Solution


Related Solutions

Consider two different implementations of the same instruction set architecture. The instructions can be divided into...
Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (classes A, B, C, and D). P1 with a clock rate of 2.5 GHz and CPIs of 1, 2, 3, and 3, and P2 with a clock rate of 3 GHz and CPIs of 2, 2, 2, and 2. Given a program with a dynamic instruction count of 1.0E6 instructions divided into classes as follows: 10% class A,...
. Write a sequence of instructions to calculate the following arithmetic expression and store the result...
. Write a sequence of instructions to calculate the following arithmetic expression and store the result in register CX: 20 – 6 + (-10) - (-8) + 15 Trace the contents of registers, assume initial contents are 0000 ps(there are multiple boxes) Instruction AX BX CX DX Remark initial 0000 0000 0000 0000
Assume for arithmetic, load/store, and branch instructions, a processor has CPIs of 1, 12, and 5,...
Assume for arithmetic, load/store, and branch instructions, a processor has CPIs of 1, 12, and 5, respectively. Also assume that on a single processor a program requires the execution of 2.56E9 arithmetic instructions, 1.28E9 load/store instructions, and 256 million branch instructions. Assume that each processor has a 2 GHz clock frequency. Assume that, as the program is parallelized to run over multiple cores, the number of arithmetic and load/store instructions per processor is divided by 0.7 x p (where p...
Consider Retail Store database which store the details of different items available in the store and...
Consider Retail Store database which store the details of different items available in the store and the sales of these items to different customers: Schema: Item(ItemNo, ItemName, Category, UnitPrice) Sales(SalesNo, ITemNo, SalesDate, CustomerNo, Qty) Customer(CustomerNo, CustomerName, City, Income, MobileNo) Write the following queries in Relational Algebra: a) List the No. and Name of items in ‘ABC’ category. b) Count the No. of categories from which the items were bought by the customer ‘Mohan Kumar’ c) List the customers who has...
1a.) Which two sets of four numbers have the same median but different means? a. 4,...
1a.) Which two sets of four numbers have the same median but different means? a. 4, 6, 4, 31 and 11, 4, 10, 14 b.  2, 0, 1, 4 and 1, 1, 1, 2 c. 9, 13, 22, 1 and 11, 21, 2, 11 d. None of the above 1b.) Which two sets of four numbers have the same mean but different standard deviation? a. 3,2,6,1 and 1,6,2,3 b. 3,2,6,1 and 0,2,3,7 c. 1,2,3,4 and 0,3,0,6 d. 1,1,1,1 and 3,3,3,3
a. Define four different classes of mutual funds? Discuss the characteristics and risks of each of...
a. Define four different classes of mutual funds? Discuss the characteristics and risks of each of the four classes you defined. b. Discuss the different ways an investor can realize a return on a mutual fund investment.
a. Define four different classes of bonds and detail the characteristics of each. Which class of...
a. Define four different classes of bonds and detail the characteristics of each. Which class of bonds tends to have the least amount of risk and why? b. Briefly discuss five financial institutions that historically participate in the bond market. What are the participation goals of each of the institutions? c. Define the term Bond Yield. Discuss how an investor realizes a return on a bond investment.
Identify two chemical classes of hormones, how do these different hormone classes affect the way these...
Identify two chemical classes of hormones, how do these different hormone classes affect the way these hormones are transported and how they interact and affect change on their target cells
if a chemist observes the density of four different samples of the same metal to be...
if a chemist observes the density of four different samples of the same metal to be 4.56 g/cm3, 4.50 g/cm3, 4.57 g/cm3 and 4.52 g/cm3, can we say that his work is precise? what would have to be known to say that his work is accurate?
. Consider the scenario shown below, with four different servers connected to four different clients over...
. Consider the scenario shown below, with four different servers connected to four different clients over four three-hop paths. The four pairs share a common middle hop with a transmission capacity of R = 200 Mbps. The four links from the servers to the shared link have a transmission capacity of RS = 70 Mbps. Each of the four links from the shared middle link to a client has a transmission capacity of RC = 30 Mbps per second. a)...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT