qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu-system-sparc question?


From: Blue Swirl
Subject: Re: [Qemu-devel] qemu-system-sparc question?
Date: Sat, 14 Oct 2006 10:14:48 +0200

There's no such think as an Ideal cpu. It's like picking the right
religion :-) If you want a toy cpu, there are things like mmix.

In general true. But the real and toy CPUs are designed with the hardware construction in mind, whereas the limitations deriving from HW (number of registers, number of instructions, instruction complexity) may be less relevant in the Qemu case. Also Qemu could benefit from getting information analysed from the source code that no real HW needs. For example, perhaps the TB state could be managed explicitly by the compiler.

Though I doubt the near native speed performance with kqemu can ever be exceeded with a translator even with all compiler assistance tricks. For other goals (like enhancing security), different methods could be tried, for example it's hard for virus writers to target a dynamic or even encrypted instruction set. Or make stack exploits difficult by giving the CPU separate stack pointers for function arguments, return addresses and local variables.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.com/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]