Skip to contentSkip to conversation

Switch to OpenBIOS for Sparc32/64?

Qemu-devel Blue Swirl 1 participant 1 message Jun 18, 2006

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw
Quoted 1 line

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/