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

Classify the different types of insulating materials, Classify the differen...

Classify the different types of insulating materials with reference to their limiting safe temperatures for use. On the basis of insulating materials and their limiting safe te

Field effect and bipolar junction transistor, Q. What is the difference bet...

Q. What is the difference between field effect transistor and the bipolar junction transistor? The important points of the comparison between the field effect transistor ands t

Explain information obtained for the load flow analysis, Explain Informatio...

Explain Information Obtained for the Load Flow Analysis (i)  Magnitude and phase angle of the voltage at each bus. (ii)  Active and Reactive power flow in each line. (iii

Positive and negative clippers, Positive Clippers The shunt connected p...

Positive Clippers The shunt connected positive clipper, in which the diode conducts for positive half cycle and hence, the output is a straight line. During the negative half c

Applications of hall effect, Applications of Hall Effect: (i)  To dete...

Applications of Hall Effect: (i)  To determine whether semiconductor is of n type or p type. (ii) To determine carrier concentration. (iii) Measurement of carrier mobili

Resistance temperature sensor, A Platinum resistance temperature sensor has...

A Platinum resistance temperature sensor has a resistance of 120 ohm at 0°C and forms one arm of a Wheatstone bridge. At this temperature the bridge is balanced with each of the ot

Total harmonic distortion, Q. Explain the term total harmonic distortion. D...

Q. Explain the term total harmonic distortion. Describes the functionary of a total harmonic distortion analyzer. Total Harmonic Distortion: Nonlinear behaviors of circuit el

Determine the current gain, A JFET for which V A = 80 V, V P = 4 V, and I...

A JFET for which V A = 80 V, V P = 4 V, and I DSS = 10 mA has a quiescent drain current of 3 mA when used as a common-source amplifier for which R D = R SS = 1k and R L = 3k

Minimized circuit using or and and not gate, Given S(F) = A'B +'C'D + C'D +...

Given S(F) = A'B +'C'D + C'D +'A'B + 'A B + 'A 'C + 'A D + 'A C A. DRAW A MINIMIZED CIRCUIT USING ONLY OR AND NOT GATES (2 input gates) B. WRITE THE WIRE LIST Example of a

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