Question: computer architecture 4) A program consists of 50,000 instructions as follows: Instruction Type Floating point Integer Data transfer Instruction Count(IC) 30,000 16,000 4,000 Cycle per

4) A program consists of 50,000 instructions as follows: Instruction Type Floating point Integer Data transfer Instruction Count(IC) 30,000 16,000 4,000 Cycle per Instruction (CPI) 5 2 6 Complete the following table: Processor Clock Rate (MHz) Cycle Time (CT) (nanosecond) 5 Execution Time (microsecond) P1 P2 P3 300 500 * Obtain the average cycles per instruction. 3) A program consists of 8 floating point instructions and 12 integer instructions. Floating point instructions take cycles and integer instructions take 2 cycles each. Assuming that the processor has a clock rate of 200.0 MHz: a) Show that the total cycles is equal to 64. b) Show that the total instructions is equal to 20. c) Show that the average cycles per instruction is equal to 3.2. CPI = 3.2 d) Using the total cycles Obtain the execution time. e) Using the average cycles per instruction obtain the execution time. f) Compare the results obtained in parts e and f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
