Page 1 of 1

Q5: Assume a processor with the Base case which has the following instruction classes: • Integer ALU instructions: CPI=0

Posted: Wed Apr 27, 2022 3:31 pm
by answerhappygod
Q5 Assume A Processor With The Base Case Which Has The Following Instruction Classes Integer Alu Instructions Cpi 0 1
Q5 Assume A Processor With The Base Case Which Has The Following Instruction Classes Integer Alu Instructions Cpi 0 1 (53.63 KiB) Viewed 51 times
Q5: Assume a processor with the Base case which has the following instruction classes: • Integer ALU instructions: CPI=0.5 and instruction count=1 • Load instructions: CPI=0.2 and instruction count=5 • Store instructions: CPI=0.1 and instruction count=1 • Branch instructions: CPI=0.2 and instruction count=2 (a) What is the CPU clock cycles for the Base case? (b) What is the CPU clock cycles for the case A which increased the instruction count of Integer ALU instructions to 2 as well as reduced the instruction count for Load instructions to 1? (c) What is the CPU clock cycles for the case B which increased the instruction count of Store instructions to 2 as well as reduced the instruction count for Branch instructions to 1? (d) Which case will has the best performance (Base, A, or B)?