Re: [Qemu-devel] [PATCH 2/2] target-arm: fix support for vrecpe.

2011-02-16 Thread Peter Maydell
On 16 February 2011 14:51, wrote: Your corner case handling isn't quite right, I'm afraid. >  float32 HELPER(recpe_f32)(float32 a, CPUState *env) >  { > -    float_status *s = &env->vfp.fp_status; > -    float32 one = int32_to_float32(1, s); > -    return float32_div(one, a, s); > +    float_st

[Qemu-devel] [PATCH 2/2] target-arm: fix support for vrecpe.

2011-02-16 Thread christophe.lyon
From: Christophe Lyon Now use the same algorithm as described in the ARM ARM. Signed-off-by: Christophe Lyon --- target-arm/helper.c | 84 +++--- 1 files changed, 72 insertions(+), 12 deletions(-) diff --git a/target-arm/helper.c b/target-arm/help