I wonder if a similar approach would work to do static recompilation of game console ROMs, to get just a bit of extra speed compared to dynamic recompilation. So instead of using an emulator, you would essentially specialize (emulator+rom) into one native executable, where as much of the recompilation as possible is done statically (I guess you cannot get rid of it in general because there could be self-modifying code etc.). If you can get near-native execution in the performance-critical loop bodies, this could theoretically enable "emu-compi-lation" of more game consoles (as long as their hardware is not more powerful than the Pandora's), albeit with potentially a lot of manual game-specific effort if the approach cannot easily be fully automated.need a custom conversion tool.