SlideShare una empresa de Scribd logo
1 de 33
Automatic Generation of Peephole Superoptimizers Speaker:Shuai-wei Huang Advisor:Wuu Yang Sorav Bansal and Alex Aiken Computer System Lab  Stanford University ASPLOS’06
Contents 2.  Design of the Optimizer 1. Introduction 3. Experimental Results   4. Conclusion
Introduction  – Peephole Optimizer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction  – Superoptimization ,[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction  – Superoptimization ,[object Object]
Introduction  – T erminology problem ,[object Object],[object Object],[object Object]
Introduction  – Related work ,[object Object],[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer - Term ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer - Term ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer - Flowchart
Design of the Optimizer – Structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer – Harvester ,[object Object],[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer – Canonicalization(1/3) ,[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer – Canonicalization(2/3) ,[object Object],[object Object],[object Object]
Design of the Optimizer – Canonicalization(3/3)
Design of the Optimizer – Fingerprinting(1/3) ,[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer – Fingerprinting(2/3) ,[object Object],[object Object],[object Object]
Design of the Optimizer – Fingerprinting(3/3) ,[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer – Enumerate(1/6) ,[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer – Enumerate(2/6)
Design of the Optimizer – Enumerate(3/6)
Design of the Optimizer – Enumerate(4/6) ,[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer – Enumerate(5/6) ,[object Object],[object Object],[object Object]
Design of the Optimizer – Enumerate(6/6)
Design of the Optimizer – Equivalence test ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Design of the Optimizer – Boolean test ,[object Object],[object Object],[object Object]
Design of the Optimizer – Optimization database ,[object Object],[object Object],[object Object],[object Object],[object Object]
Experimental Results ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Experimental Results ,[object Object]
Experimental Results ,[object Object]
Experimental Results ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Conclusion ,[object Object],[object Object],[object Object],[object Object],[object Object]
Thank  You !

Más contenido relacionado

La actualidad más candente

Concurrent Programming OpenMP @ Distributed System Discussion
Concurrent Programming OpenMP @ Distributed System DiscussionConcurrent Programming OpenMP @ Distributed System Discussion
Concurrent Programming OpenMP @ Distributed System Discussion
CherryBerry2
 

La actualidad más candente (20)

Open mp library functions and environment variables
Open mp library functions and environment variablesOpen mp library functions and environment variables
Open mp library functions and environment variables
 
Open mp
Open mpOpen mp
Open mp
 
Introduction to OpenMP
Introduction to OpenMPIntroduction to OpenMP
Introduction to OpenMP
 
Open mp intro_01
Open mp intro_01Open mp intro_01
Open mp intro_01
 
Concurrent Programming OpenMP @ Distributed System Discussion
Concurrent Programming OpenMP @ Distributed System DiscussionConcurrent Programming OpenMP @ Distributed System Discussion
Concurrent Programming OpenMP @ Distributed System Discussion
 
Peephole optimization techniques in compiler design
Peephole optimization techniques in compiler designPeephole optimization techniques in compiler design
Peephole optimization techniques in compiler design
 
Introduction to OpenMP
Introduction to OpenMPIntroduction to OpenMP
Introduction to OpenMP
 
Code optimization
Code optimizationCode optimization
Code optimization
 
Peephole optimization techniques
Peephole optimization techniquesPeephole optimization techniques
Peephole optimization techniques
 
Parallelization using open mp
Parallelization using open mpParallelization using open mp
Parallelization using open mp
 
Introduction to OpenMP (Performance)
Introduction to OpenMP (Performance)Introduction to OpenMP (Performance)
Introduction to OpenMP (Performance)
 
Unit 3 part2
Unit 3 part2Unit 3 part2
Unit 3 part2
 
Compiler optimization
Compiler optimizationCompiler optimization
Compiler optimization
 
OpenMP And C++
OpenMP And C++OpenMP And C++
OpenMP And C++
 
Presentation on Shared Memory Parallel Programming
Presentation on Shared Memory Parallel ProgrammingPresentation on Shared Memory Parallel Programming
Presentation on Shared Memory Parallel Programming
 
Optimization
OptimizationOptimization
Optimization
 
openmp
openmpopenmp
openmp
 
Code Optimization
Code OptimizationCode Optimization
Code Optimization
 
MPI n OpenMP
MPI n OpenMPMPI n OpenMP
MPI n OpenMP
 
Compiler optimization techniques
Compiler optimization techniquesCompiler optimization techniques
Compiler optimization techniques
 

Destacado

新網站內部管理系統
新網站內部管理系統新網站內部管理系統
新網站內部管理系統
winnen20012001
 
My Head Hurts
My  Head HurtsMy  Head Hurts
My Head Hurts
Hpanik
 
La creació d'una pilota Andrea
La creació d'una pilota AndreaLa creació d'una pilota Andrea
La creació d'una pilota Andrea
Marjal
 
La creació de la pilota
La creació de la pilotaLa creació de la pilota
La creació de la pilota
Marjal
 
Presentation Of My Web 2.0
Presentation Of My Web 2.0Presentation Of My Web 2.0
Presentation Of My Web 2.0
adi
 
Acers I Foses Hector Robles 1
Acers I Foses Hector Robles 1Acers I Foses Hector Robles 1
Acers I Foses Hector Robles 1
guestcebe1c
 

Destacado (20)

The Peephole
The PeepholeThe Peephole
The Peephole
 
新網站內部管理系統
新網站內部管理系統新網站內部管理系統
新網站內部管理系統
 
Maximize Minnesota Eric Mittelstadt
Maximize Minnesota Eric MittelstadtMaximize Minnesota Eric Mittelstadt
Maximize Minnesota Eric Mittelstadt
 
Report Prima Parte Lezione 6 Dicembre
Report Prima Parte Lezione 6 DicembreReport Prima Parte Lezione 6 Dicembre
Report Prima Parte Lezione 6 Dicembre
 
Interiores residenciais Aula 1
Interiores residenciais   Aula 1Interiores residenciais   Aula 1
Interiores residenciais Aula 1
 
Power Point
Power PointPower Point
Power Point
 
Introduction to FreeBSD 7.0
Introduction to FreeBSD 7.0Introduction to FreeBSD 7.0
Introduction to FreeBSD 7.0
 
Scenario Web 2.0 By Nielsen Net Ratings[1]
Scenario Web 2.0 By Nielsen  Net Ratings[1]Scenario Web 2.0 By Nielsen  Net Ratings[1]
Scenario Web 2.0 By Nielsen Net Ratings[1]
 
My Head Hurts
My  Head HurtsMy  Head Hurts
My Head Hurts
 
A Lightweight Instruction Scheduling Algorithm For Just In Time Compiler
A Lightweight Instruction Scheduling Algorithm For Just In Time CompilerA Lightweight Instruction Scheduling Algorithm For Just In Time Compiler
A Lightweight Instruction Scheduling Algorithm For Just In Time Compiler
 
La creació d'una pilota Andrea
La creació d'una pilota AndreaLa creació d'una pilota Andrea
La creació d'una pilota Andrea
 
La creació de la pilota
La creació de la pilotaLa creació de la pilota
La creació de la pilota
 
Report Prima Parte Lezione 6 Dicembre
Report Prima Parte Lezione 6 DicembreReport Prima Parte Lezione 6 Dicembre
Report Prima Parte Lezione 6 Dicembre
 
Com Fer PlàStic De Forma Cassolana
Com Fer PlàStic De Forma CassolanaCom Fer PlàStic De Forma Cassolana
Com Fer PlàStic De Forma Cassolana
 
Presentation Of My Web 2.0
Presentation Of My Web 2.0Presentation Of My Web 2.0
Presentation Of My Web 2.0
 
Acers I Foses Hector Robles 1
Acers I Foses Hector Robles 1Acers I Foses Hector Robles 1
Acers I Foses Hector Robles 1
 
No Translation Necessary
No Translation NecessaryNo Translation Necessary
No Translation Necessary
 
Code optimisation presnted
Code optimisation presntedCode optimisation presnted
Code optimisation presnted
 
Selling Travel April 2013
Selling Travel April 2013Selling Travel April 2013
Selling Travel April 2013
 
Hogwarts - presentation
Hogwarts - presentationHogwarts - presentation
Hogwarts - presentation
 

Similar a Automatic Generation of Peephole Superoptimizers

Compiler Optimization-Space Exploration
Compiler Optimization-Space ExplorationCompiler Optimization-Space Exploration
Compiler Optimization-Space Exploration
tmusabbir
 
Effisiensi prog atmel
Effisiensi prog atmelEffisiensi prog atmel
Effisiensi prog atmel
rm_dhozooo
 
Iaetsd march c algorithm for embedded memories in fpga
Iaetsd march c algorithm for embedded memories in fpgaIaetsd march c algorithm for embedded memories in fpga
Iaetsd march c algorithm for embedded memories in fpga
Iaetsd Iaetsd
 
Measurement .Net Performance with BenchmarkDotNet
Measurement .Net Performance with BenchmarkDotNetMeasurement .Net Performance with BenchmarkDotNet
Measurement .Net Performance with BenchmarkDotNet
Vasyl Senko
 

Similar a Automatic Generation of Peephole Superoptimizers (20)

Understand and Harness the Capabilities of Intel® Xeon Phi™ Processors
Understand and Harness the Capabilities of Intel® Xeon Phi™ ProcessorsUnderstand and Harness the Capabilities of Intel® Xeon Phi™ Processors
Understand and Harness the Capabilities of Intel® Xeon Phi™ Processors
 
Mod 3.pptx
Mod 3.pptxMod 3.pptx
Mod 3.pptx
 
Parallelization of Coupled Cluster Code with OpenMP
Parallelization of Coupled Cluster Code with OpenMPParallelization of Coupled Cluster Code with OpenMP
Parallelization of Coupled Cluster Code with OpenMP
 
Emulation Error Recovery
Emulation Error RecoveryEmulation Error Recovery
Emulation Error Recovery
 
Compiler Optimization-Space Exploration
Compiler Optimization-Space ExplorationCompiler Optimization-Space Exploration
Compiler Optimization-Space Exploration
 
Effisiensi prog atmel
Effisiensi prog atmelEffisiensi prog atmel
Effisiensi prog atmel
 
Algorithm Analysis.pdf
Algorithm Analysis.pdfAlgorithm Analysis.pdf
Algorithm Analysis.pdf
 
unit 2 hpc.pptx
unit 2 hpc.pptxunit 2 hpc.pptx
unit 2 hpc.pptx
 
Doc8453
Doc8453Doc8453
Doc8453
 
Parallelism in sql server
Parallelism in sql serverParallelism in sql server
Parallelism in sql server
 
Mod.2.pptx
Mod.2.pptxMod.2.pptx
Mod.2.pptx
 
Accelerating the Development of Efficient CP Optimizer Models
Accelerating the Development of Efficient CP Optimizer ModelsAccelerating the Development of Efficient CP Optimizer Models
Accelerating the Development of Efficient CP Optimizer Models
 
Iaetsd march c algorithm for embedded memories in fpga
Iaetsd march c algorithm for embedded memories in fpgaIaetsd march c algorithm for embedded memories in fpga
Iaetsd march c algorithm for embedded memories in fpga
 
An Optimized Parallel Algorithm for Longest Common Subsequence Using Openmp –...
An Optimized Parallel Algorithm for Longest Common Subsequence Using Openmp –...An Optimized Parallel Algorithm for Longest Common Subsequence Using Openmp –...
An Optimized Parallel Algorithm for Longest Common Subsequence Using Openmp –...
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Measurement .Net Performance with BenchmarkDotNet
Measurement .Net Performance with BenchmarkDotNetMeasurement .Net Performance with BenchmarkDotNet
Measurement .Net Performance with BenchmarkDotNet
 
Test PDF file
Test PDF fileTest PDF file
Test PDF file
 
Unit 3 part2
Unit 3 part2Unit 3 part2
Unit 3 part2
 
Minimizing CPU Shortage Risks in Integrated Embedded Software
Minimizing CPU Shortage Risks in Integrated Embedded SoftwareMinimizing CPU Shortage Risks in Integrated Embedded Software
Minimizing CPU Shortage Risks in Integrated Embedded Software
 
Ppt chapter04
Ppt chapter04Ppt chapter04
Ppt chapter04
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Automatic Generation of Peephole Superoptimizers

  • 1. Automatic Generation of Peephole Superoptimizers Speaker:Shuai-wei Huang Advisor:Wuu Yang Sorav Bansal and Alex Aiken Computer System Lab Stanford University ASPLOS’06
  • 2. Contents 2. Design of the Optimizer 1. Introduction 3. Experimental Results 4. Conclusion
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. Design of the Optimizer - Flowchart
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. Design of the Optimizer – Canonicalization(3/3)
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. Design of the Optimizer – Enumerate(2/6)
  • 21. Design of the Optimizer – Enumerate(3/6)
  • 22.
  • 23.
  • 24. Design of the Optimizer – Enumerate(6/6)
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.