AFAIK the JIT is Qemu's; the extra instructions just help the translation from x86 -> 
"tiny code generator" bytecode (similar to LLVM) -> Loongson. I doubt there's much 
magic to it other than minimizing host CPU instructions but... I'm talking out of my ass.

On the other hand you're right to question those benchmarks, after all nothing beats 1:1 x86 -> x86 
translation (nop) so those were no doubt very theoretical. Even if the 70% of native speed were true 
it'd just mean that non-KVM Qemu is 30% slower on Loongson than on x86. So "not as lame as you'd 
think" seems a more accurate qualifier than "fast".

well my question wasn't about running x86 code under emulation on loongson, but running mips compiled programs on it relatively to x86 compiled programs on x86.

Reply via email to