Changes between Version 8 and Version 9 of JITRewrite

Show
Ignore:
Timestamp:
09/03/09 11:49:38 (12 years ago)
Author:
whiteknight
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JITRewrite

    v8 v9  
    55 - A "C Function" is a function written in C that performs some task 
    66 - A "JIT Definition Function" is a function written in C that generates the machine code for a function that performs some task 
     7 - LIR is "Low-level Intermediate Representation". It is an instruction format that is internal to a compiler for representing the input programs. 
    78 
    89= A Good JIT Will... = 
     
    5960http://llvm.org/ 
    6061 
     62LLVM provides JIT compilation for it's own custom opcodes. If we target LLVM specifically, we could use native LLVM ops as our LIR for writing ops in. 
     63 
    6164Pros: Lots of optimizations across multiple stages. Can generate executables from JIT'd code. 
    6265Cons: Heavy-weight, is more then just a JIT. Requires translation of PBC to LLVM opcodes. Some developers claim it is difficult to use.