Assume your program of interest is being executed by a 1 GHz processor core. I h
ID: 673831 • Letter: A
Question
Assume your program of interest is being executed by a 1 GHz processor core. I he core routine in the program of interest executes in 39 cycles and contains 15 instructions. The total number of instructions in the program run is 12 Billion. How long does it take for the program to execute? Assume your program of interest is being executed by an 80 MHz processor core, which executes approximately 7 instructions for each 3 CPU cycles. If the program lakes 2.5 seconds to execute, how many instructions are in the program of interest? If you desire the program described in Q # 48 to execute in I second, what operational frequency is required, assuming the number of instructions and CPI are unchanged. Which of the terms in this equation is most impacted by a transition from ARM machine code to THUMB machine code for the panic program? What instruction set and microarchitectural optimizations can be performed to reduce cycles / instructions?Explanation / Answer
Solution :
47) Time taken to execute the program = (12 * 39 * 1) / (1 * 15 * 39)
= 12 / 15 = 4 / 5 = 0.8 seconds
48) Number of instructions = (2.5 * 80 * 7 * 3) / (3 * 2.5)
= 560 instructions
49) Operational frequency = 1 Hz
50) The terms mostly impacted are Instructions, Cycles and Time.
51) The instruction set like addressing mode, registers and external I/O and microarchitectural optimizations like a set of processors is to be used to reduce instructions or cycles.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.