Determine the cpi load latency, Electrical Engineering

Assignment Help:

Question:

(a) Describe the following terminologies:
i. Branch
ii. Branch Prediction
iii. Branch Predictor
iv. Branch Misprediction

(b) Consider that 15% of instructions are loads and that 20% of the instructions following a load depend on its results and are stalled for 1 cycle. All instructions and all loads hit in their respective first-level caches. Consider further that 20% of instructions are branches, with 60% of them being taken and 40% being not taken. The penalty is 2 cycles if the branch is not taken, and it is 3 cycles if the branch is taken. Then, 1 cycle is lost for 20% of the loads, 2 cycles are lost when a conditional branch is not taken, and 3 cycles are lost for taken branches.

(i) Determine the CPI load latency, CPI branches, CPI, and IPC.

(ii) A very simple optimization implementation for branches is to consider that they are not taken. There will be no penalty if indeed the branch is not taken, and there will still be a 3 cycle penalty if it is taken. Calculate the CPI branches, CPI, and IPC.

(iii) Assuming that a branch-not-taken strategy has been implemented, plot CPI vs. branch misprediction cost when the latter varies between 3 and 20 cycles.

(iv) Do your computations in (iii) argue for sophisticated branch predictors when the pipelines become "deeper"?

(c) In (b), we assumed that the cache miss penalty was 20 cycles. With modern processors running at a frequency of 1 to 3 GHz, the cache miss penalty can reach several hundred cycles.

(i) Keeping all other parameters the same as in (b), plot CPI vs. cache miss penalty cost when the latter varies between 20 and 500 cycles.

(ii) Do your computations argue for the threat of a "memory wall" whereby loading instructions and data could potentially dominate the execution time?


Related Discussions:- Determine the cpi load latency

Write a report on various types of diodes, a. write a report (at least  2 p...

a. write a report (at least  2 pages ) on various types of diodes( Show and explain  the theory, symbol, circuit, characteristics, data sheets and applications circuits using the d

Circuit analysis, what is quality factor in term circuit analysis

what is quality factor in term circuit analysis

Rlc circuits, Parallel rlc circiut with a variable cap connected in series ...

Parallel rlc circiut with a variable cap connected in series with a resistor

Determine the shaft power output, Determine the shaft power output: A ...

Determine the shaft power output: A 6-pole, 50 Hz, 3-phase induction motor running on full load develops a useful torque of 180 Nm when the rotor emf frequency is 2 Hz. Determ

Programming, ELEC 132 COURSEWORK – ADC This work will be assessed based...

ELEC 132 COURSEWORK – ADC This work will be assessed based on program demonstration (during lab sessions) and design. You will also have to submit your c-source codes as word o

Cost and profitability - proposed kpis, Cost and Profitability - Proposed K...

Cost and Profitability - Proposed KPIs  KPI  UOM  Measures   RepresentativeStandards  Aggregate Technical &  Commercial L

PFC, How do you size power factor units at 11kV

How do you size power factor units at 11kV

Diac - power semiconductor devices , Diac Diac is a device which  has d...

Diac Diac is a device which  has di electrode  and as its name suggests it works  on AC. The cross  sectional view of a diac is shown if the four layers are PNPN and PNPN .

Illustrate the satellites in outer space, Illustrate the satellites in oute...

Illustrate the satellites in outer space Satellites in outer space transmit signals to Earth. Computers in vehicles (for example car, airplane or ship) receive and interpret th

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd