3 ms·
Yes, the first thing I thought of too. Also I wonder if we could modify qemu TCG to do some sort of dynamic analysis + recompilation for virtual machines.
by rwmj 4y ago
Yes, the first thing I thought of too. Also I wonder if we could modify qemu TCG to do some sort of dynamic analysis + recompilation for virtual machines.
- moonchild 4y agoTCG is not that great, so I hear--might not make the best starting point. But VMs do seem like a promising avenue. One obvious problem is register allocation: if guest has more registers than host, and you can predict branch X is hotter than branch Y, then spill Y's registers to keep X's in (host) registers.