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

Calculation of AT&C loss, how to make a matlab program for calculation of A...

how to make a matlab program for calculation of AT&C loss for perticular area

Magnetic circuits, Magnetic circuits To  see  how  this   is  used   i...

Magnetic circuits To  see  how  this   is  used   in  practice, consider a coil of N turns wound onto a closed ring shaped former with a very high (note:    r (steel) = 200

find the current and voltage by ohms law and kvl, 1. A current carrying co...

1. A current carrying conductor is found to carry 10 μA at a given time slot from 5μs to 1.5 ms. Find the total number of electrons flowing in the conductor during this time slot.

Example memory to registers , Example Memory to  Registers Example: ...

Example Memory to  Registers Example: Write  assembly  language  statement  to copy  data byte  36H  stored  at 2025 H  to register B. Solution : Assuming 2025 H is sto

What do you mean by most and least significant digits, Q. What do you mean ...

Q. What do you mean by Most and least significant digits? The MSD (most significant digit) in a number is the digit which represents the largest part of the number. Therefore i

Schottky diodes - types of power diodes , Schottky  diodes The schot...

Schottky  diodes The schottky diodes have very fast recovery time and  low forward drop.  The current  ratings of  these diodes  vary  from 1A to 300 a and  maximum  allowable

Synchronous motor, Q. A synchronous motor operates continuously on the foll...

Q. A synchronous motor operates continuously on the following duty cycle: 50 hp for 8 min, 100 hp for 8 min, 150 hp for 10 min, 120 hp for 20 min, and no load for 14min. Specify th

What are the signals involved in memory bank selection, What are the signal...

What are the signals involved in memory bank selection in 8086 microprocessor? The 8086 based system will have two sets of memory IC's. One set for even bank and another for od

Explain working of ammeter, Q. Explain working of Ammeter? In order to ...

Q. Explain working of Ammeter? In order to measure the current through a wire or line of a circuit, an ammeter is connected in series with the line. A practical ammeter can usu

What are the five stages in a dlx pipeline, The five stages of DLX pipeline...

The five stages of DLX pipeline is:- ? Operand location ? Number of explicit operands per instruction ? Operand storage in the CPU ? Operations ? Type and size of o

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