qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [patch] target-alpha: squashed fpu qualifiers patch


From: Richard Henderson
Subject: Re: [Qemu-devel] [patch] target-alpha: squashed fpu qualifiers patch
Date: Mon, 28 Dec 2009 11:06:20 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0

On 12/24/2009 07:18 AM, Aurelien Jarno wrote:
My main concern about this patch is that I don't really understand why
the current fp exceptions, the current rounding mode or flush_to_zero
mode are stored in FP_STATUS. I think it would be better to have
dedicated variable(s) in the cpu state structure, as it is done in other
emulated architectures.

The internal format for these features is quite different (in terms of bit ordering) than the native Alpha format. If I were to be forcing the bits back into the Alpha format after each operation, that would be far more shifting and masking than only doing the conversion to Alpha format when the FPCR register is read or written. At present I'm only saving a value and ORing it back in

However, if you're convinced I should keep things in Alpha format all the time, I can rearrange the patch along those lines.


r~




reply via email to

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