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

Explain the ascii character set - microprocessor, Explain the ASCII Charact...

Explain the ASCII Character Set? Most programming languages have a means of defining a character as a numeric code and, conversely, converting the code back to the character. ASC

Calculate the power required from power plant, You will develop a simulatio...

You will develop a simulation that will consist of the following five components: Controller: This script component controls the simulation. It shall permit the user to: 1. C

Assembly language, To find out the largest of ten 8 bit numbers. Method: Th...

To find out the largest of ten 8 bit numbers. Method: The numbers are stored in consecutive memory locations. The counter register is initialized with 0A and the address pointer po

Construction of a two stage rc coupled amplifier, Q. Describe the construct...

Q. Describe the construction of a two stage RC coupled amplifier with diagram. A cascaded arrangement of common-emitter transistor stages is shown above. The output Y1 of

Determine radius of curvature of concave spherical mirror, The focal length...

The focal length of a concave spherical mirror is equal to 1 meter. What is the radius of curvature of this mirror? Ans: The radius of curvature of this mirror is 2 meter.

Minimum value of rl that can be used, Verify the minimum & maximum load cur...

Verify the minimum & maximum load current for which the zener diode will keep regulation. Find the minimum value of RL that can be used. The zener diode has V Z = 12V, I ZK =

What are the flags used in 8086, In 8086 Carry flag, Parity flag, Auxiliar...

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Direction flag Interrupt flag and Sign flag.   Mainly there ae two types of int

Shunt motor, if the shunt motor has reduce as half load then what effect on...

if the shunt motor has reduce as half load then what effect on speed

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