Re:Virtualizing iOS on Apple Silicon
by amelius on Tuesday October 08, 2024 @06:28AM
(#41775747)
Curious, does QEMU use some kind of ahead-of-time translating scheme? Or do they rewrite instructions as they see them?
[ Parent
| on HN ]
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.