SlideShare a Scribd company logo
1 of 1
Download to read offline
6.3 Consider the loop in the program of Figure 2.8. Assume it is executed in a five-stage
pipeline with forwarding paths to theALU from registers RYand RZ in Figure 5.8. Assume
that the pipeline uses static branch prediction with a not-taken assumption. Draw a diagram
similar to Figure 6.1 for the execution of two successive iterations of the loop.
6.5 Repeat Problem 6.3 for a pipeline that uses delayed branching with one delay slot. Reorder
the instructions as needed to improve performance.

More Related Content

More from Acro1988

7 Aadakilerden hangisi mikroekonomik bir konudur A ind.pdf
7 Aadakilerden hangisi mikroekonomik bir konudur  A ind.pdf7 Aadakilerden hangisi mikroekonomik bir konudur  A ind.pdf
7 Aadakilerden hangisi mikroekonomik bir konudur A ind.pdfAcro1988
 
7 A recent study by Mkare et al 2017 on population stru.pdf
7 A recent study by Mkare et al 2017 on population stru.pdf7 A recent study by Mkare et al 2017 on population stru.pdf
7 A recent study by Mkare et al 2017 on population stru.pdfAcro1988
 
6b Besides Crater Lake give another example on Earth of thi.pdf
6b Besides Crater Lake give another example on Earth of thi.pdf6b Besides Crater Lake give another example on Earth of thi.pdf
6b Besides Crater Lake give another example on Earth of thi.pdfAcro1988
 
6 Write a Python functoion that takes in a dictionary and p.pdf
6 Write a Python functoion that takes in a dictionary and p.pdf6 Write a Python functoion that takes in a dictionary and p.pdf
6 Write a Python functoion that takes in a dictionary and p.pdfAcro1988
 
6710 Let X1X2Xn be a random sample from a distribution.pdf
6710 Let X1X2Xn be a random sample from a distribution.pdf6710 Let X1X2Xn be a random sample from a distribution.pdf
6710 Let X1X2Xn be a random sample from a distribution.pdfAcro1988
 
60 A difference between a ListBox and a dropdown style Com.pdf
60 A difference between a ListBox and a dropdown style Com.pdf60 A difference between a ListBox and a dropdown style Com.pdf
60 A difference between a ListBox and a dropdown style Com.pdfAcro1988
 
62 of 71 delegates in a political convention favored changi.pdf
62 of 71 delegates in a political convention favored changi.pdf62 of 71 delegates in a political convention favored changi.pdf
62 of 71 delegates in a political convention favored changi.pdfAcro1988
 
64 of owned dogs in the United States are spayed or neutere.pdf
64 of owned dogs in the United States are spayed or neutere.pdf64 of owned dogs in the United States are spayed or neutere.pdf
64 of owned dogs in the United States are spayed or neutere.pdfAcro1988
 
6 Farly scientists tried to determine the age of Zarth usin.pdf
6 Farly scientists tried to determine the age of Zarth usin.pdf6 Farly scientists tried to determine the age of Zarth usin.pdf
6 Farly scientists tried to determine the age of Zarth usin.pdfAcro1988
 
6 Using your own words explain the pathophysiology of DIC .pdf
6 Using your own words explain the pathophysiology of DIC .pdf6 Using your own words explain the pathophysiology of DIC .pdf
6 Using your own words explain the pathophysiology of DIC .pdfAcro1988
 
62 A 10yearold boy is admitted with pallor His CBC shows.pdf
62 A 10yearold boy is admitted with pallor His CBC shows.pdf62 A 10yearold boy is admitted with pallor His CBC shows.pdf
62 A 10yearold boy is admitted with pallor His CBC shows.pdfAcro1988
 
6 Write a shell script lsmorebash that displays the file.pdf
6 Write a shell script lsmorebash that displays the file.pdf6 Write a shell script lsmorebash that displays the file.pdf
6 Write a shell script lsmorebash that displays the file.pdfAcro1988
 
6 X1X2X35 are normal random variables with mean and va.pdf
6 X1X2X35 are normal random variables with mean  and va.pdf6 X1X2X35 are normal random variables with mean  and va.pdf
6 X1X2X35 are normal random variables with mean and va.pdfAcro1988
 
6 Name and describe three ways in which cells can drive act.pdf
6 Name and describe three ways in which cells can drive act.pdf6 Name and describe three ways in which cells can drive act.pdf
6 Name and describe three ways in which cells can drive act.pdfAcro1988
 
6 Who developed Data Encryption Standard DES Your answ.pdf
6 Who developed Data Encryption Standard  DES Your answ.pdf6 Who developed Data Encryption Standard  DES Your answ.pdf
6 Who developed Data Encryption Standard DES Your answ.pdfAcro1988
 
6 Describe the features of the function in the graph and cr.pdf
6 Describe the features of the function in the graph and cr.pdf6 Describe the features of the function in the graph and cr.pdf
6 Describe the features of the function in the graph and cr.pdfAcro1988
 
6 Psychologists believe that teenagers use of Facebook incr.pdf
6 Psychologists believe that teenagers use of Facebook incr.pdf6 Psychologists believe that teenagers use of Facebook incr.pdf
6 Psychologists believe that teenagers use of Facebook incr.pdfAcro1988
 
6 KDEL dizisinin sinyal dizisinin ve nkleer lokalizasyon .pdf
6 KDEL dizisinin sinyal dizisinin ve nkleer lokalizasyon .pdf6 KDEL dizisinin sinyal dizisinin ve nkleer lokalizasyon .pdf
6 KDEL dizisinin sinyal dizisinin ve nkleer lokalizasyon .pdfAcro1988
 
6 Give the probability of two individuals heterozygous for .pdf
6 Give the probability of two individuals heterozygous for .pdf6 Give the probability of two individuals heterozygous for .pdf
6 Give the probability of two individuals heterozygous for .pdfAcro1988
 
6 Opportunity cost and production possibilities Edison is a.pdf
6 Opportunity cost and production possibilities Edison is a.pdf6 Opportunity cost and production possibilities Edison is a.pdf
6 Opportunity cost and production possibilities Edison is a.pdfAcro1988
 

More from Acro1988 (20)

7 Aadakilerden hangisi mikroekonomik bir konudur A ind.pdf
7 Aadakilerden hangisi mikroekonomik bir konudur  A ind.pdf7 Aadakilerden hangisi mikroekonomik bir konudur  A ind.pdf
7 Aadakilerden hangisi mikroekonomik bir konudur A ind.pdf
 
7 A recent study by Mkare et al 2017 on population stru.pdf
7 A recent study by Mkare et al 2017 on population stru.pdf7 A recent study by Mkare et al 2017 on population stru.pdf
7 A recent study by Mkare et al 2017 on population stru.pdf
 
6b Besides Crater Lake give another example on Earth of thi.pdf
6b Besides Crater Lake give another example on Earth of thi.pdf6b Besides Crater Lake give another example on Earth of thi.pdf
6b Besides Crater Lake give another example on Earth of thi.pdf
 
6 Write a Python functoion that takes in a dictionary and p.pdf
6 Write a Python functoion that takes in a dictionary and p.pdf6 Write a Python functoion that takes in a dictionary and p.pdf
6 Write a Python functoion that takes in a dictionary and p.pdf
 
6710 Let X1X2Xn be a random sample from a distribution.pdf
6710 Let X1X2Xn be a random sample from a distribution.pdf6710 Let X1X2Xn be a random sample from a distribution.pdf
6710 Let X1X2Xn be a random sample from a distribution.pdf
 
60 A difference between a ListBox and a dropdown style Com.pdf
60 A difference between a ListBox and a dropdown style Com.pdf60 A difference between a ListBox and a dropdown style Com.pdf
60 A difference between a ListBox and a dropdown style Com.pdf
 
62 of 71 delegates in a political convention favored changi.pdf
62 of 71 delegates in a political convention favored changi.pdf62 of 71 delegates in a political convention favored changi.pdf
62 of 71 delegates in a political convention favored changi.pdf
 
64 of owned dogs in the United States are spayed or neutere.pdf
64 of owned dogs in the United States are spayed or neutere.pdf64 of owned dogs in the United States are spayed or neutere.pdf
64 of owned dogs in the United States are spayed or neutere.pdf
 
6 Farly scientists tried to determine the age of Zarth usin.pdf
6 Farly scientists tried to determine the age of Zarth usin.pdf6 Farly scientists tried to determine the age of Zarth usin.pdf
6 Farly scientists tried to determine the age of Zarth usin.pdf
 
6 Using your own words explain the pathophysiology of DIC .pdf
6 Using your own words explain the pathophysiology of DIC .pdf6 Using your own words explain the pathophysiology of DIC .pdf
6 Using your own words explain the pathophysiology of DIC .pdf
 
62 A 10yearold boy is admitted with pallor His CBC shows.pdf
62 A 10yearold boy is admitted with pallor His CBC shows.pdf62 A 10yearold boy is admitted with pallor His CBC shows.pdf
62 A 10yearold boy is admitted with pallor His CBC shows.pdf
 
6 Write a shell script lsmorebash that displays the file.pdf
6 Write a shell script lsmorebash that displays the file.pdf6 Write a shell script lsmorebash that displays the file.pdf
6 Write a shell script lsmorebash that displays the file.pdf
 
6 X1X2X35 are normal random variables with mean and va.pdf
6 X1X2X35 are normal random variables with mean  and va.pdf6 X1X2X35 are normal random variables with mean  and va.pdf
6 X1X2X35 are normal random variables with mean and va.pdf
 
6 Name and describe three ways in which cells can drive act.pdf
6 Name and describe three ways in which cells can drive act.pdf6 Name and describe three ways in which cells can drive act.pdf
6 Name and describe three ways in which cells can drive act.pdf
 
6 Who developed Data Encryption Standard DES Your answ.pdf
6 Who developed Data Encryption Standard  DES Your answ.pdf6 Who developed Data Encryption Standard  DES Your answ.pdf
6 Who developed Data Encryption Standard DES Your answ.pdf
 
6 Describe the features of the function in the graph and cr.pdf
6 Describe the features of the function in the graph and cr.pdf6 Describe the features of the function in the graph and cr.pdf
6 Describe the features of the function in the graph and cr.pdf
 
6 Psychologists believe that teenagers use of Facebook incr.pdf
6 Psychologists believe that teenagers use of Facebook incr.pdf6 Psychologists believe that teenagers use of Facebook incr.pdf
6 Psychologists believe that teenagers use of Facebook incr.pdf
 
6 KDEL dizisinin sinyal dizisinin ve nkleer lokalizasyon .pdf
6 KDEL dizisinin sinyal dizisinin ve nkleer lokalizasyon .pdf6 KDEL dizisinin sinyal dizisinin ve nkleer lokalizasyon .pdf
6 KDEL dizisinin sinyal dizisinin ve nkleer lokalizasyon .pdf
 
6 Give the probability of two individuals heterozygous for .pdf
6 Give the probability of two individuals heterozygous for .pdf6 Give the probability of two individuals heterozygous for .pdf
6 Give the probability of two individuals heterozygous for .pdf
 
6 Opportunity cost and production possibilities Edison is a.pdf
6 Opportunity cost and production possibilities Edison is a.pdf6 Opportunity cost and production possibilities Edison is a.pdf
6 Opportunity cost and production possibilities Edison is a.pdf
 

Recently uploaded

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 

63 Consider the loop in the program of Figure 28 Assume i.pdf

  • 1. 6.3 Consider the loop in the program of Figure 2.8. Assume it is executed in a five-stage pipeline with forwarding paths to theALU from registers RYand RZ in Figure 5.8. Assume that the pipeline uses static branch prediction with a not-taken assumption. Draw a diagram similar to Figure 6.1 for the execution of two successive iterations of the loop. 6.5 Repeat Problem 6.3 for a pipeline that uses delayed branching with one delay slot. Reorder the instructions as needed to improve performance.