Answered step by step
Verified Expert Solution
Question
1 Approved Answer
12. (22) A standard benchmark, when compiled with a standard compiler used the four categories of instructions as tabulated below in Table 1 Freq. x
12. (22) A standard benchmark, when compiled with a standard compiler used the four categories of instructions as tabulated below in Table 1 Freq. x CPI 0.0 x 2 0.0 0.4 x 3-1.2 0.2 x 4 0.8 0.4 x 52.0 Frequency CPI NOP 40% 20% 40% 4 Table 1 (6) For the same benchmark, Mr. Cheat made the compiler to add NOP instructions (50% of the total as shown below) to fictitiously boost the performance. Complete table 2 below for Mr Cheat. Frequency 50% Freq. x CPI 0.5 x 21.0 CPI NOP x 3- 4 Table 2 12.1 12.2 12.3 (4) Calculate CPI for Table 1 - (4) Calculate CPI for Table 2- (2) Are the above percentages based on the frequency of occurrence of the instructions (a.) static code or (b.) dynamic execution trace? 12.4 (6) By adding NOPS did the actual (real, not fictitious) performance go down or go up? (DOWN / UP) If you do not have enough data, state what data is essential to calculate, make By what factor
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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