Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Use your knowledge to deal with requests, be precise and effective.

Answered: 1 week ago