qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Switch to OpenBIOS for Sparc32/64?


From: Blue Swirl
Subject: Re: [Qemu-devel] Switch to OpenBIOS for Sparc32/64?
Date: Sun, 18 Jun 2006 11:29:34 +0200

1) Include the bit 'psref' in the static translation state (in tb->flags). Then psref can be tested at translation time and there is no run time cost. This approach is used on the x86 target. The downside is that two TBs may be generated for a given block of code depending on the psref value. Ideally if no FPU operations are used in the TB, psref should be ignored (not done yet on x86).

Is the attached patch what you had in mind?

Record FPU enabled/disabled condition to TB flags, generate code statically
based on translation time state.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Attachment: sparc-fpu-translation.diff.bz2
Description: Binary data


reply via email to

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