Question

A bne instruction can result in a specific kind of hazard. (a) What is this kind of hazard called? (b) How can such hazard be solved? (c) For deep pipelines, such hazards can have very negative impact on the performance. Explain why (d) Which technique is used in modern processors to remedy this negative impact? Mo- tivate why this is the case.

Answer c) and d)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

C).Bne instructions are like jump instructions.In pipelining new inputs are inserted into pipelining every nee cycle to get CPI of 1.due to this property jump instructions creates control hazards.hazards are nothing but delay or stall i.e. cycle without new inputs into pipeline.

Let's take example to understand what problems occurs in jump instructions:-

Consider a 5 stage pipeline in RISC architecture

Code tooo Fallin fal through 00a 002:p 2000) Loo 4 ke n i1 Dg MA BX fp 1s TP 雽り PL1 2002unsanted. ·In the above exeriAin gequen ( nteunwanted ereudim sege ui eHe miccing fo cothe above prldem here a neeel is avilaLOOD: 11 loo3 delay slot CMop DDS 1s 0000: B1 2001-R12- 12 PC lo02 20 iela sle 2P PC2002: . No. of stalls cxected in Čhe pipeline due知branch open non ms called os brach penolty depends on auailab targel adne intheD)to solve control hazards there are various methods like

1.Hardware techniques:-(branch prediction buffers)

2.Software techniques:-(delayed branch and NOP subsitution)

). to minimibe hel dependengy stoll ome of b bardware mechanigm t erane m butler Rran bue)is a high hffer pesend i the stae oo mun i usedl ie delayed branch oranch instuoton to hesve the eecuchion th Compiler Rearrangeme Code I2 ft 1, 61, P12Ah Com re-amangemef ev Codle- Pf2 Pc: To Nop fc :NDr.rce.Et니 Un cand 3 NOP Pp BD B12 B h TP Pc: es Actuo con d dependen olp S

Add a comment
Know the answer?
Add Answer to:
Answer c) and d) A bne instruction can result in a specific kind of hazard. (a)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Computer Architecture 14. Fill in the blanks below with the most appropriate term or concept discussed...

    Computer Architecture 14. Fill in the blanks below with the most appropriate term or concept discussed in this chapter: A. ---------------The time required for the first result in a series of computations to emerge from a pipeline. B. ---------------This is used to separate one stage of a pipeline from the next. C. ---------------Over time, this tells the mean number of operations completed by a pipeline per clock cycle. D. ---------------The clock cycles that are wasted by an instruction-pipelined processor due...

  • Hi can you please help me with the question?..thank you.. QUESTION 2 The pipeline in the...

    Hi can you please help me with the question?..thank you.. QUESTION 2 The pipeline in the ARMI1 CPU is shown in Figure Q2(a). There are three possible (a) paths through the pipeline. The path of the execution depends on what type of instruction is executing (b) Instruction Fetoh Write Decode Execute Back Address DCI Dcz WBIS FE1 FE2 Decode Issue Shif ALU Saturate WBes MAC2 МАСI МАСУ Figure Q2(a) (i) Identify the number of stages for the ARMI1 CPU pipelines....

  • hi..can you please help me with this question?..thank you.. QUESTION 2 The pipeline in the ARMI1...

    hi..can you please help me with this question?..thank you.. QUESTION 2 The pipeline in the ARMI1 CPU is shown in Figure Q2(a). There are three possible (a) paths through the pipeline. The path of the execution depends on what type of instruction is executing (b) Instruction Fetoh Write Decode Execute Back Address DCI Dcz WBIS FE1 FE2 Decode Issue Shif ALU Saturate WBes MAC2 МАСI МАСУ Figure Q2(a) (i) Identify the number of stages for the ARMI1 CPU pipelines. [1...

  • please answer as soon as possible. i only have 37 minutes left. i need help determining...

    please answer as soon as possible. i only have 37 minutes left. i need help determining whether or not the examples are word for word plagarism, paraphrasing plagarism, or not plagarism at all 14% Sun 12 29:06 AM Christoph Window Help Edi Safari Fle View History Bookmarks indiane edua In The Case Below The Original Source to How to Recognine PagiaemUndergraduate Cerication Tests: Se. Plagasm Ceficate Item 1 View In the case below, the original source material is given along...

  • File Edit View History Bookmarks Window Help learn dcollege.net ---காப C M 12:14 படகாகா Multiple Attempts...

    File Edit View History Bookmarks Window Help learn dcollege.net ---காப C M 12:14 படகாகா Multiple Attempts Force Completion This test allows multiple attempts. This test can be saved and resumed later. Question Completion Status: Plagiarism Moving to another question will save this response heck Question 2 Original Source Material The concept of systems is really quite simple. The basic idea is that a system has parts that fit together to make a interesting - is how those parts are connected...

  • What an Executive Summary Is An executive summary is a specific type of document that does...

    What an Executive Summary Is An executive summary is a specific type of document that does two things: it summarizes a research article, and it offers recommendations as to how information from the article can be used. Some long reports can contain an executive summary section, as indicated in the Pearson handbook. Write a 2 pahe Executive Summary In business contexts, an executive summary is always written for a specific purpose: to explain the information in the article to a...

  • Item 1 In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism by clicking the appropriate radio button. Original Source Material...

    Item 1 In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism by clicking the appropriate radio button. Original Source Material Student Version But what are reasonable outcomes of the influence of global processes on education? While the question of how global processes influence all aspects of education (and who controls these forces) is multidimensional and not completely testable, there appear to be some theories of globalization as it...

  • Read the case study and answer the questions in the end. Towards a diversified knowledge economy...

    Read the case study and answer the questions in the end. Towards a diversified knowledge economy ECONOMIC DVERSIFICATION DRIVES GROWTH IN THE UAE UAE expects higher non oil growth in 2018 due to diversified economy 3.5 70 TOP COUNTRY Source www.putees.co sF KY ScroRs 100 MLLION 25 240 5 200 30 Diversification is important to promote economic development, to create job opportunities for a rapidly growing local workforce, but also to reduce or spread the risk of a high economic...

  • My Ask You C-reactive protein (CRP) is a substance that can be measured in the blood. Values incr...

       My Ask You C-reactive protein (CRP) is a substance that can be measured in the blood. Values increase substantially within & hours of an infection and reach a peak within 24 to 48 hours after. In adults, chronically high values have been linked to an increased risk of cardiovascular disease. In a study of apparently healthy children aged 6 to 60 months in Papua New Guinea, CRP was measured in 90 children. The units are milligrams per liter (mg/l). Here...

  • please answer this after reading the article What is the actual problem? What are the known...

    please answer this after reading the article What is the actual problem? What are the known facts? What decision is to be made? How the problem ought to be solved? What are the alternatives? What are your recommendations? New AI tools make BI smarter — and more useful Data science democratized: What used to take data scientists months to prepare may soon be put together in a few days by data-astute business users. By Maria Korolov, Contributing Writer, CIO |...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT