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

Poly phase induction motor, Using the approximate equivalent circuit in whi...

Using the approximate equivalent circuit in which the shunt branch is moved to the stator in put terminals, show that the rotor current, torque, and electro magnetic power of a pol

Standard color-coded bands for evaluating resistance, Standard Color-Coded ...

Standard Color-Coded Bands for Evaluating Resistance Practical resistors are manufactured in standard values, various resistance tolerances, several power ratings (as will be e

#linear programming with all three constraints.., #z =x1+2.5x2, with constr...

#z =x1+2.5x2, with constraints, x1+x2>=2, x2 x1+x2 x1=3.question..

DC motor, what is the necessity of copper brushes in dc motors?

what is the necessity of copper brushes in dc motors?

DC motor, why DC motors use field winding instead of armature winding

why DC motors use field winding instead of armature winding

Illustrate about crossbar exchange, Q. Explain crossbar exchange, with all ...

Q. Explain crossbar exchange, with all call processing steps and diagrams. Ans: The basic concept of crossbar switching is to provide a matrix of n x m sets of contacts with

Shld store hl pair direct instruction , SHLD Store HL pair Direct Instructi...

SHLD Store HL pair Direct Instruction This  instruction is used to store the contents of HL  register  pair to  memory  address specified  in the  instruction and the  next ad

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

Problem on pulse code modulation, (a) "Pulse Code Modulation (PCM), as used...

(a) "Pulse Code Modulation (PCM), as used in telephony, samples a signal at 8 kHz using 256 quantization levels". i. Outline how this scheme works with the help of sketches and,

Find the flux density in the air gap of the right leg, Q. In the magnetic c...

Q. In the magnetic circuit shown in Figure the center leg has the same cross-sectional area as each of the outer legs. The coil has 400 turns. The permeability of iron may

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