Question: 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 compilerused the four categories of instructions as tabulated below in Table 1

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!