1 / 16

Interpreter

MathWorks Compiler Course – Day 9. Interpreter. MathWorks Compiler Course – Day 9. Interpreter Source interpretation. MathWorks Compiler Course – Day 9. Interpreter Source interpretation Tree interpretation. MathWorks Compiler Course – Day 9. Interpreter Source interpretation

Download Presentation

Interpreter

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MathWorks Compiler Course – Day 9 • Interpreter

  2. MathWorks Compiler Course – Day 9 • Interpreter • Source interpretation

  3. MathWorks Compiler Course – Day 9 • Interpreter • Source interpretation • Tree interpretation

  4. MathWorks Compiler Course – Day 9 • Interpreter • Source interpretation • Tree interpretation • Making P-code • From shift/reduce sequence • From tree

  5. MathWorks Compiler Course – Day 9 • Interpreter • Source interpretation • Tree Interpretation • Making P-code • Interpreting P-Code

  6. MathWorks Compiler Course – Day 9 • Interpreter • JIT

  7. MathWorks Compiler Course – Day 9 • Interpreter • JIT • Pcode driven • Directly from source

  8. MathWorks Compiler Course – Day 9 • Interpreter • JIT • Hybrid JIT-Interpreter • Switches between machine code and Pcode • Compile time vs. execution efficiency

  9. MathWorks Compiler Course – Day 9 • Interpreter • JIT • Hybrid JIT-Interpreter • Compiler • Module at a time • Linkers

  10. MathWorks Compiler Course – Day 9 • Interpreter • JIT • Hybrid JIT-Interpreter • Compiler • Code Optimization

  11. MathWorks Compiler Course – Day 9 • Code Optimization • Specifying meaning

  12. MathWorks Compiler Course – Day 9 • Code Optimization • Specifiying meaning • “as-if” rule

  13. MathWorks Compiler Course – Day 9 • Code Optimization • Specifying meaning • “as-if” rule • Cache aware

  14. MathWorks Compiler Course – Day 9 • Code Optimization • Specifying meaning • “as-if” rule • Cache aware • Local optimization • Constant folding • Peephole optimization • Identities

  15. MathWorks Compiler Course – Day 9 • Code Optimization • Specifying meaning • “as-if” rule • Cache aware • Local optimization • Non-local optimization • Common subexpression elimination • Hoisting

  16. MathWorks Compiler Course – Day 9 • Code Optimization • Specifying meaning • “as-if” rule • Cache aware • Local optimization • Non-local optimization • Heavy-duty optimization • Flow analysis • Register allocation

More Related