Question: The dynamic distribution of instructions by instruction classes is shown in table below. Two types of codes are considered Integer (INT) (eg. sort, compilers, databases

 The dynamic distribution of instructions by instruction classes is shown intable below. Two types of codes are considered Integer (INT) (eg. sort,

The dynamic distribution of instructions by instruction classes is shown in table below. Two types of codes are considered Integer (INT) (eg. sort, compilers, databases etc) and scientific MIPS examples Integer codes scientific codes Instruction class Arithmetic add, sub, addi 16% 48% lw, lb, Ibu, lh, Ihu, lui 25% 28% Data transfer SW, sb, 10% 12% Logical and, or, nor, andi, ori, sil, srl 12% 0% Cond. Branch beq, bne, sit, siti, sitiu 33% 10% Jump 1. jr, jal 4% 2% 100% 100% codes (FP) (eg. linear algebra, calculus etc.) We have two CPUs implementing the same ISA with the CPI characteristics in the table below. CPU A has a clock frequency of 1.25 GHz while CPU B clock is 3.2 GHz. CPI by instruction category CPUA CPUB 2. 4 Arithmetic Load Store 2 6 2 1 2 4 Logical Cond. Branch 2 N Jump 2 2 1 SHOW YOUR WORK IN EVERY QUESTION FOR FULL CREDIT a. (8 points) Compute the average CPI for the INT and FP for both CPUs. Average CPI INT FP CPUA CPUB CPU A INT FP Arithmetic 2 Load 2 Store 2 Logical 2 Cond. Branch 2 Jump 2 2 CPUB CPI INT FP Arithmetic 4 Load 6 Store 1 Logical 4 Cond. Branch 2 Jump 1

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!