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

Elementary induction machines, Elementary Induction Machines In the dis...

Elementary Induction Machines In the discussion that followed Equation, the third possiblemethod of producing constant torque was to cause the mmf axes of stator and rotor to r

What do you mean by sign bit, Q. What do you mean by Sign Bit? The sign...

Q. What do you mean by Sign Bit? The sign bit is like simple as it gets 0 denotes a positive number and 1 denote a negative number and flipping the value of this bit flips the

V-i characteristics - power semiconductor devices , V-I Characteristics ...

V-I Characteristics  In the  normal  mode of  operation of an IGBT  a positive  voltage is applied to the collector relative to emitter. When  the gate is at zero potential wi

Function of time base generator, Q. Explain the function of time base gener...

Q. Explain the function of time base generator in CRO. Sol. Oscilloscopes are used to display a waveform that varies as a function of time. If the waveform is to be accuratel

Find the parameter values for channel mosfet, Q. Find the parameter values ...

Q. Find the parameter values V T and I DSS for a p- channel MOSFET with i D = 0 when v GS ≤-3 V, and i D = 5 mA when v GS = v DS =-8V.You may neglect the effect of v DS on

Prepayment meters, Prepayment Meters Usage of prepayment meters will e...

Prepayment Meters Usage of prepayment meters will extensively improve the revenue collection of the utilities. There are a number of ways in that prepayment assures revenue pr

Mutual inductance and coefficient of coupling, Mutual inductance and coeffi...

Mutual inductance and coefficient of coupling: The equivalent inductance of two series connected coil (with mutual inductance among them) is 0.8 or 0.2 Henry based on the rela

Working of centre tap full wave rectifier, (a) What is understand by clippi...

(a) What is understand by clipping circuit. Draw and illustrate different types of diode clipping circuits? (b) With the help of circuit diagram describe the working of centre t

Can you explain twos complement division, Q. Can you explain twos Complemen...

Q. Can you explain twos Complement Division? 2's complement division is repeated 2's complement subtraction. The 2's complement of the divisor is calculated, and then added to

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