Re: [Qemu-devel] [PATCH 4/5] target-arm: fix support for VRECPE.

2011-02-22 Thread Peter Maydell
On 21 February 2011 16:38, Christophe Lyon wrote: > Now use the same algorithm as described in the ARM ARM. > > Signed-off-by: Christophe Lyon Reviewed-by: Peter Maydell

[Qemu-devel] [PATCH 4/5] target-arm: fix support for VRECPE.

2011-02-21 Thread Christophe Lyon
Now use the same algorithm as described in the ARM ARM. Signed-off-by: Christophe Lyon --- target-arm/helper.c | 83 +++--- 1 files changed, 71 insertions(+), 12 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 30c1809..031f

Re: [Qemu-devel] [PATCH 4/5] target-arm: fix support for VRECPE.

2011-02-21 Thread Peter Maydell
On 21 February 2011 10:59, Christophe Lyon wrote: > +    if (float32_is_any_nan(a)) { > +        if (float32_is_signaling_nan(a)) { > +            float_raise(float_flag_invalid, s); > +        } > +        return float32_maybe_silence_nan(a); This returns the wrong answer for NaNs: this is a Ne

[Qemu-devel] [PATCH 4/5] target-arm: fix support for VRECPE.

2011-02-21 Thread Christophe Lyon
Now use the same algorithm as described in the ARM ARM. Signed-off-by: Christophe Lyon --- target-arm/helper.c | 83 +++--- 1 files changed, 71 insertions(+), 12 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 30c1809..7445