Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. (25 points) The following table shows the number of instructions for a program. Arithmetic 550 Memory 100 Branch 150 Total 800 a. (5
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)?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
aArithmetic instructions 550 x 2 1100 cycles Memory operations 100 x 6 600 cycles Bra...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started