loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
13th International Conference on Parallel Architecture and Compilation Techniques (PACT'04)
Retargeting JIT Compilers by using C-Compiler Generated Executable Code
Antibes Juan-les-Pins, France
September 29-October 03
ISBN: 0-7695-2229-7
M. Anton Ertl, TU Wien
David Gregg, Trinity College, Dublin
JIT compilers produce fast code, whereas interpreters are easy to port between architectures. We propose to combine the advantages of these language implementation techniques as follows: we generate native code by concatenating and patching machine code fragments taken from interpreter-derived code (generated by a C compiler); we completely eliminate the interpreter dispatch overhead and accesses to the interpreted code by patching jump target addresses and other constants into the fragments. In this paper we present the basic idea, discuss some issues in more detail, and present results from a proof-of-concept implementation, providing speedups of up to 1.87 over the fastest previous interpreter-based technique, and performance comparable to simple native-code compilers. The effort required for retargeting our implementation from the 386 to the PPC architecture was less than a person-day.
Citation:
M. Anton Ertl, David Gregg, "Retargeting JIT Compilers by using C-Compiler Generated Executable Code," pact, pp.41-50, 13th International Conference on Parallel Architecture and Compilation Techniques (PACT'04), 2004
Usage of this product signifies your acceptance of the Terms of Use.