I wrote some notes on the Rotor JIT before I started at Microsoft. My intention was to play around and figure out how to replace or extend it, perhaps giving Rotor the ability to spit out processor extension specific code (MMX, 3dNow! etc). I never did get around to finishing the work.
What kind of cool JIT related stuff would you guys like to see?
Dumping the native code the JIT emits:
Tracing the compilation of IL to native code:With the following steps, you can see the JIT emitting the x86 on the fly into memory.
Mapping the native Jit output to processor hex codes: