SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
CSL718 : Superscalar
    Processors

  Renaming and Reordering
       5th Feb, 2009


      Anshul Kumar, CSE IITD
Why Renaming and Reordering?
• Register Renaming
    – Removes false dependencies (WAR and
      WAW)
• Reordering Buffer (ROB)
    – Ensures sequential consistency of interrupts
      (precise vs imprecise interrupts)
    – Facilitates speculative execution



                                                     slide 2
 Anshul Kumar, CSE IITD
RAW, WAR and WAW
                 (in Static Pipeline)
                 (in Static Pipeline)
                         IF   D RF EX WB
RAW
                              IF   D         RF EX WB

                         IF   D RF EX WB

WAR                           IF   D RF EX WB


                         IF   D RF EX EX EX WB

WAW                           IF   D RF EX        WB


                                                        slide 3
Anshul Kumar, CSE IITD
RAW, WAR and WAW
                    (in Superscalar)
                    (in Superscalar)
                                 b←1
write    IF       IS      DP EX   WB RAW
                                      b←0
read     IF       IS                   DP EX          WB
                                WAW
                                                    WAR
write    IF       IS             DP EX             WB
                                                  b←1


                scoreboard bit set by write, cleared by read
          what happens when there are multiple reads for a write?

                                                               slide 4
 Anshul Kumar, CSE IITD
Implementation using scoreboard bit
 Implementation using scoreboard bit
 in order issue, scoreboard bit set by write, cleared at issue time
               b←0                    b←1
write    IF      IS     DP EX         WB
                                            RAW

read     IF                 IS               DP EX      WB
                                                      WAR
read     IF                      IS          DP EX      WB
                                                      WAR
                                       WAW
write    IF                                          IS   DP EX          WB
                                                  b←0

               issue only if there are no pending reads

                                                               slide 5
   Anshul Kumar, CSE IITD
CDC 6600 like Implementation
        CDC 6600 like

                                 b←φ
              b ← FU1
write    IF      IS     DP EX     WB
                                       RAW

read     IF                 IS                DP EX      WB
                                 WAW
                                                           WAR
write    IF                              IS      DP EX      WB
                                       b ← FU2




                                                         slide 6
   Anshul Kumar, CSE IITD
IBM 360 like Implementation
        IBM 360 like Implementation

              b ← FU1            b←φ
write    IF      IS     DP EX     WB
                                       RAW

read     IF                 IS                DP EX      WB
                                 WAW
                                                           WAR
write    IF                              IS      DP EX      WB
                                       b ← FU2




                                                         slide 7
   Anshul Kumar, CSE IITD
Use of Renaming
                      Use of Renaming


write    IF      IS     DP EX    WB
                                       RAW

read     IF                 IS                DP EX    WB
                                 WAW                     WAR
write    IF                              IS    DP EX      WB




                                                       slide 8
   Anshul Kumar, CSE IITD
Register renaming
                         write R5
write R5
                                    RAW
                  RAW
                         read R5
read R5
                  WAR
                         write R8
write R5
                                    RAW
                  RAW
                         read R8
read R5



                                          slide 9
Anshul Kumar, CSE IITD
Who does renaming?
• Compiler
   – Done statically
   – Limited by registers visible to compiler
• Hardware
   – Done dynamically
   – Limited by registers available to hardware




                                                  slide 10
Anshul Kumar, CSE IITD
Types of renaming buffers
• Separate renaming register file and
  architectural register file
• Combined renaming and architectural
  register file

• Renaming combined with reordering
• Renaming combined with reservation
  stations and reordering
                                        slide 11
Anshul Kumar, CSE IITD
How renaming works?
         (in context of combined reg file)
         (in context of combined reg file)
register address
 from instruction


                            mapping




                                         physical register file
                                      (larger than architectural
                                             register file)

                                                                   slide 12
   Anshul Kumar, CSE IITD
Types of mapping
         Indexed               Associative
• Inexpensive            • Expensive
• Two steps required     • Single step associative
                           access
   – Look up index
   – Read value




                                              slide 13
Anshul Kumar, CSE IITD
Renaming with indexed access

           entry    index         value      value
           valid                             valid
register
number




            mapping table    physical register file




                                                      slide 14
    Anshul Kumar, CSE IITD
Renaming with associative access
                match
register
number
                entry reg         value     value latest
                valid num                   valid




                   physical register file (associative)


                                                           slide 15
    Anshul Kumar, CSE IITD
Handling interrupts


                                 these can “commit”
   status of
 instruction
  execution
at the time of
   interrupt

    completed
    under execution
    not started   program
                    order
                                            slide 16
    Anshul Kumar, CSE IITD
Speculative execution




                          predicted
                           branch


speculative                  don’t commit till correctness
                              of prediction is determined
 execution

                                                     slide 17
 Anshul Kumar, CSE IITD
Reordering
                         instruction enter

                                        i    i
                                                     x
                                                         x
 i: issued
 x: in execution
 f: finished


                                                             x
                                                         f
                                                     x
                                                 f

                            instructions commit/retire
                                                                 slide 18
Anshul Kumar, CSE IITD
Using ROB with RF

                             Register       to reservation
        from FUs
                              File           stations/FUs



                                 Register
from FUs             ROB          File          to reservation
                                                 stations/FUs




                                                     slide 19
    Anshul Kumar, CSE IITD
Future file and history file
                           Register   use in case of
                   ROB      File        interrupts
from FUs
                                      to reservation
                           Future
                                       stations/FUs
                            File
                                      update in case
displaced
                                       of interrupts
 values
                History
                 File      Future     to reservation
from FUs                    File       stations/FUs

                                            slide 20
  Anshul Kumar, CSE IITD
Combining renaming and reordering
Combining renaming and reordering
• Use physical register file as ROB as well
• Maintain status about committed and
  uncommitted values




                                              slide 21
 Anshul Kumar, CSE IITD
How much to speculate?
• Handle exceptions in speculated
  instructions?
   – handle only low cost exception events such as
     first level cache miss
   – wait if expensive exceptional event occurs such
     as second level cache miss or TLB miss
• Speculating through multiple branches
   – needed when branches are frequent or clustered
   – even handling multiple branches in a cycle may
     be required
                                                slide 22
Anshul Kumar, CSE IITD

Más contenido relacionado

Más de Ravi Soni

Lec 2 Multidisciplinary 183
Lec 2  Multidisciplinary 183Lec 2  Multidisciplinary 183
Lec 2 Multidisciplinary 183Ravi Soni
 
Lec 5 Structure (Basics) 186
Lec 5  Structure (Basics) 186Lec 5  Structure (Basics) 186
Lec 5 Structure (Basics) 186Ravi Soni
 
Lec Jan15 2009
Lec Jan15 2009Lec Jan15 2009
Lec Jan15 2009Ravi Soni
 
Lec Jan29 2009
Lec Jan29 2009Lec Jan29 2009
Lec Jan29 2009Ravi Soni
 
Lec Jan22 2009
Lec Jan22 2009Lec Jan22 2009
Lec Jan22 2009Ravi Soni
 
Cs718min1 2008soln View
Cs718min1 2008soln ViewCs718min1 2008soln View
Cs718min1 2008soln ViewRavi Soni
 
Lec Jan12 2009
Lec Jan12 2009Lec Jan12 2009
Lec Jan12 2009Ravi Soni
 
Lec Feb09 2009
Lec Feb09 2009Lec Feb09 2009
Lec Feb09 2009Ravi Soni
 
Lec Jan19 2009
Lec Jan19 2009Lec Jan19 2009
Lec Jan19 2009Ravi Soni
 
Lec Feb02 2009
Lec Feb02 2009Lec Feb02 2009
Lec Feb02 2009Ravi Soni
 

Más de Ravi Soni (11)

Lec 2 Multidisciplinary 183
Lec 2  Multidisciplinary 183Lec 2  Multidisciplinary 183
Lec 2 Multidisciplinary 183
 
Lec 1 182
Lec 1 182Lec 1 182
Lec 1 182
 
Lec 5 Structure (Basics) 186
Lec 5  Structure (Basics) 186Lec 5  Structure (Basics) 186
Lec 5 Structure (Basics) 186
 
Lec Jan15 2009
Lec Jan15 2009Lec Jan15 2009
Lec Jan15 2009
 
Lec Jan29 2009
Lec Jan29 2009Lec Jan29 2009
Lec Jan29 2009
 
Lec Jan22 2009
Lec Jan22 2009Lec Jan22 2009
Lec Jan22 2009
 
Cs718min1 2008soln View
Cs718min1 2008soln ViewCs718min1 2008soln View
Cs718min1 2008soln View
 
Lec Jan12 2009
Lec Jan12 2009Lec Jan12 2009
Lec Jan12 2009
 
Lec Feb09 2009
Lec Feb09 2009Lec Feb09 2009
Lec Feb09 2009
 
Lec Jan19 2009
Lec Jan19 2009Lec Jan19 2009
Lec Jan19 2009
 
Lec Feb02 2009
Lec Feb02 2009Lec Feb02 2009
Lec Feb02 2009
 

Último

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Último (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Lec Feb05 2009

  • 1. CSL718 : Superscalar Processors Renaming and Reordering 5th Feb, 2009 Anshul Kumar, CSE IITD
  • 2. Why Renaming and Reordering? • Register Renaming – Removes false dependencies (WAR and WAW) • Reordering Buffer (ROB) – Ensures sequential consistency of interrupts (precise vs imprecise interrupts) – Facilitates speculative execution slide 2 Anshul Kumar, CSE IITD
  • 3. RAW, WAR and WAW (in Static Pipeline) (in Static Pipeline) IF D RF EX WB RAW IF D RF EX WB IF D RF EX WB WAR IF D RF EX WB IF D RF EX EX EX WB WAW IF D RF EX WB slide 3 Anshul Kumar, CSE IITD
  • 4. RAW, WAR and WAW (in Superscalar) (in Superscalar) b←1 write IF IS DP EX WB RAW b←0 read IF IS DP EX WB WAW WAR write IF IS DP EX WB b←1 scoreboard bit set by write, cleared by read what happens when there are multiple reads for a write? slide 4 Anshul Kumar, CSE IITD
  • 5. Implementation using scoreboard bit Implementation using scoreboard bit in order issue, scoreboard bit set by write, cleared at issue time b←0 b←1 write IF IS DP EX WB RAW read IF IS DP EX WB WAR read IF IS DP EX WB WAR WAW write IF IS DP EX WB b←0 issue only if there are no pending reads slide 5 Anshul Kumar, CSE IITD
  • 6. CDC 6600 like Implementation CDC 6600 like b←φ b ← FU1 write IF IS DP EX WB RAW read IF IS DP EX WB WAW WAR write IF IS DP EX WB b ← FU2 slide 6 Anshul Kumar, CSE IITD
  • 7. IBM 360 like Implementation IBM 360 like Implementation b ← FU1 b←φ write IF IS DP EX WB RAW read IF IS DP EX WB WAW WAR write IF IS DP EX WB b ← FU2 slide 7 Anshul Kumar, CSE IITD
  • 8. Use of Renaming Use of Renaming write IF IS DP EX WB RAW read IF IS DP EX WB WAW WAR write IF IS DP EX WB slide 8 Anshul Kumar, CSE IITD
  • 9. Register renaming write R5 write R5 RAW RAW read R5 read R5 WAR write R8 write R5 RAW RAW read R8 read R5 slide 9 Anshul Kumar, CSE IITD
  • 10. Who does renaming? • Compiler – Done statically – Limited by registers visible to compiler • Hardware – Done dynamically – Limited by registers available to hardware slide 10 Anshul Kumar, CSE IITD
  • 11. Types of renaming buffers • Separate renaming register file and architectural register file • Combined renaming and architectural register file • Renaming combined with reordering • Renaming combined with reservation stations and reordering slide 11 Anshul Kumar, CSE IITD
  • 12. How renaming works? (in context of combined reg file) (in context of combined reg file) register address from instruction mapping physical register file (larger than architectural register file) slide 12 Anshul Kumar, CSE IITD
  • 13. Types of mapping Indexed Associative • Inexpensive • Expensive • Two steps required • Single step associative access – Look up index – Read value slide 13 Anshul Kumar, CSE IITD
  • 14. Renaming with indexed access entry index value value valid valid register number mapping table physical register file slide 14 Anshul Kumar, CSE IITD
  • 15. Renaming with associative access match register number entry reg value value latest valid num valid physical register file (associative) slide 15 Anshul Kumar, CSE IITD
  • 16. Handling interrupts these can “commit” status of instruction execution at the time of interrupt completed under execution not started program order slide 16 Anshul Kumar, CSE IITD
  • 17. Speculative execution predicted branch speculative don’t commit till correctness of prediction is determined execution slide 17 Anshul Kumar, CSE IITD
  • 18. Reordering instruction enter i i x x i: issued x: in execution f: finished x f x f instructions commit/retire slide 18 Anshul Kumar, CSE IITD
  • 19. Using ROB with RF Register to reservation from FUs File stations/FUs Register from FUs ROB File to reservation stations/FUs slide 19 Anshul Kumar, CSE IITD
  • 20. Future file and history file Register use in case of ROB File interrupts from FUs to reservation Future stations/FUs File update in case displaced of interrupts values History File Future to reservation from FUs File stations/FUs slide 20 Anshul Kumar, CSE IITD
  • 21. Combining renaming and reordering Combining renaming and reordering • Use physical register file as ROB as well • Maintain status about committed and uncommitted values slide 21 Anshul Kumar, CSE IITD
  • 22. How much to speculate? • Handle exceptions in speculated instructions? – handle only low cost exception events such as first level cache miss – wait if expensive exceptional event occurs such as second level cache miss or TLB miss • Speculating through multiple branches – needed when branches are frequent or clustered – even handling multiple branches in a cycle may be required slide 22 Anshul Kumar, CSE IITD