Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Curious, does QEMU use some kind of ahead-of-time translating scheme? Or do they rewrite instructions as they see them?


Latter.


Sounds like a huge opportunity for improvements.

A simple approach would identify basic blocks in the code and translate them to an IR for an optimizing compiler back-end like LLVM.

Of course, you have to be careful with self-modifying code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: