qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Updated Sparc support


From: Johan Rydberg
Subject: Re: [Qemu-devel] [PATCH] Updated Sparc support
Date: Thu, 15 May 2003 22:17:24 +0200

On 2003.05.15 22:05 David S. Miller wrote:

   The reason for me asking is that I some time soon "port" my
simulator
   [1] to SPARC hosts, and it needs to have a lot of global registers
   (more than those 6-7 available).

Just only execute the generated code in a fixed context and thus
in the same register window, then at the call site into the generated
code clobber all of the input registers.

The global registers will initially not be used for dynamic generated
code, but in the direct threaded interpreter.  Using global registers
for commonly used variables such as the CPU structure and current virtual
program counter will increase the performance with a magnitude I guess.

So, if I understand you correctly, everything should work pretty good
i you use -fflat and stay away from the input registers?  (I have no
need for the -fno-delay-slot flag)

Just look at the qemu code, it works quite well.

Will do that aswell.

brgds,
Johan.




reply via email to

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