Re: [Qemu-devel] [PATCH 17/20] target-i386: fix logarithmic and trigonometric helpers wrt softfloat

2011-04-20 Thread Aurelien Jarno
On Tue, Apr 19, 2011 at 06:37:14PM +0100, Peter Maydell wrote: > On 18 April 2011 22:00, Aurelien Jarno wrote: > > +#include > > Why does this patch need this? I couldn't see anywhere where > the patch added calls to math functions we weren't calling before, > or did I miss one? Because softloa

Re: [Qemu-devel] [PATCH 17/20] target-i386: fix logarithmic and trigonometric helpers wrt softfloat

2011-04-19 Thread Peter Maydell
On 18 April 2011 22:00, Aurelien Jarno wrote: > +#include Why does this patch need this? I couldn't see anywhere where the patch added calls to math functions we weren't calling before, or did I miss one? >  void helper_fptan(void) >  { > -    CPU86_LDouble fptemp; > +    double fptemp = CPU86_

[Qemu-devel] [PATCH 17/20] target-i386: fix logarithmic and trigonometric helpers wrt softfloat

2011-04-18 Thread Aurelien Jarno
Use the new CPU86_LDouble <-> double conversion functions to make logarithmic and trigonometric helpers working with softfloat. Signed-off-by: Aurelien Jarno --- target-i386/op_helper.c | 52 +++--- 1 files changed, 26 insertions(+), 26 deletions(-) dif