Re: [Qemu-devel] [PATCH] target-arm: Fix VMLA, VMLS, VNMLS, VNMLA handling of NaNs

2011-05-14 Thread Aurelien Jarno
On Thu, May 05, 2011 at 07:35:35PM +0100, Peter Maydell wrote: > Correct handling of NaNs for VFP VMLA, VMLS, VNMLS and VNMLA requires that > we implement the set of negations and additions specified by the ARM ARM; > plausible looking simplifications like turning (-A + B) into (B - A) or > computi

[Qemu-devel] [PATCH] target-arm: Fix VMLA, VMLS, VNMLS, VNMLA handling of NaNs

2011-05-05 Thread Peter Maydell
Correct handling of NaNs for VFP VMLA, VMLS, VNMLS and VNMLA requires that we implement the set of negations and additions specified by the ARM ARM; plausible looking simplifications like turning (-A + B) into (B - A) or computing (A + B) rather than (B + A) result in selecting the wrong NaN or ret