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...
JAVA: Provide two different implementations, an array and a linked list, to maintain a list of...
JAVA: Provide two different implementations, an array and a linked list, to maintain a list of names (two separate programs).The following operations are available: insert rear, insert front, remove a particular element, and print the whole list. Do not implement an ADT(Do not use a class with data and operations) Just set up a fixed size array or a linked list of nodes in main and provide code in main or functions/static methods to perform insert, remove, and print. You...
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?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT