quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryهندسة الحاسبات schoolبكالوريوس event_available2026-07-15

السؤال

Transcribed Image Text:

a. b. No. Instructions 1.00E+09 1.00E+09 Compiler A Compiler B Execution Time No. Instructions Execution Time 1.8 s 1.20E+09 1.20E+09 1.1 s 1.8 s 1.5 s 1.6.1 [5] <1.4> For the same program, two different compilers are used. The table above shows the execution time of the two different compiled programs. Find the average CPI for each program given that the processor has a clock cycle time of 1 ns. 1.6.2 [5] <1.4> Assume the average CPIs found in 1.6.1, but that the compiled programs run on two different processors. If the execution times on the two pro- cessors are the same, how much faster is the clock of the processor running com- piler A's code versus the clock of the processor running compiler B's code? 1.6.3 [5] <1.4> A new compiler is developed that uses only 600 million instruc- tions and has an average CPI of 1.1. What is the speedup of using this new compiler versus using Compiler A or B on the original processor of 1.6.1? Consider two different implementations, P1 and P2, of the same instruction set. There are five classes of instructions (A, B, C, D, and E) in the instruction set. Pl has a clock rate of 4 GHz, and P2 has a clock rate of 6 GHz. The average number of cycles for each instruction class for P1 and P2 are listed in the following table.

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top