OctConf 2013 - Improve JIT Compiling

1,998 views

Published on

Published in: Business, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,998
On SlideShare
0
From Embeds
0
Number of Embeds
1,344
Actions
Shares
0
Downloads
11
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

OctConf 2013 - Improve JIT Compiling

  1. 1. Improve JIT Compiling L Y.H. lyh.kernel@gmail.com
  2. 2. Project Blog http://octave-jitc.blogspot.tw/
  3. 3. JITC Just In Time Compiler for Octave Google Summer of Code 2012 Max Brister Use LLVM as JIT engine ~9000 SLOC
  4. 4. How JITC Works JITC LLVM Backend Octave LLVM IR Optimizer Parse Tree SDAG JITC Linear IR SDAG Optimizer LLVM IR JIT
  5. 5. Midterm Goal Built-in functions support function test1 () x = 1.0; disp (x); endfunction
  6. 6. Midterm Goal Built-in functions support Statements support do - until switch … i = 1; x = 2; do i++; x = x * 2; until (i == 10)
  7. 7. Final Goal Statements support Functions support
  8. 8. Some Issues LLVM now focus on MCJIT
  9. 9. Some Issues LLVM now focus on MCJIT LLVM API varies between different versions LLVM IR has no change
  10. 10. Some Issues LLVM now focus on MCJIT LLVM API varies between different versions LLVM IR has no change JITC unaware code hotness
  11. 11. JITC unaware code hotness
  12. 12. Thank You http://octave-jitc.blogspot.tw/

×