Sunday, December 12, 2010

LIR OPcodes

Start exploring the nanojit source.Bit difficult for a java developer to understand the C code at first glance.Took few hours to find where to start.
The best place to start is nanojit/LIRopcode.tbl file give a complete overview of LIR instructions.Uploaded a LIR opcode cheat sheet for better understanding "MDC Nanojit opcodes"

Thursday, December 9, 2010

Jit engine a starter

Today I thought of designing a embedded jit compiler for java.Idea is to completely generate machine code in java and executed th machine code using small native code.I cloned a copy of nanojit to my local machine and start exploring the code.