Re: [Qemu-devel] [PATCH 4/5] target-ppc: use the softfloat float32_muladd function

2012-09-09 Thread Aurelien Jarno
On Sun, Sep 09, 2012 at 10:51:20AM +0100, Peter Maydell wrote: > On 8 September 2012 22:12, Aurelien Jarno wrote: > > +#define VARITHFPFMA(suffix, type) \ > > +void helper_v##suffix(CPUPPCState *env, ppc_avr_t *r, ppc_avr_t *a, \ > > +

Re: [Qemu-devel] [PATCH 4/5] target-ppc: use the softfloat float32_muladd function

2012-09-09 Thread Peter Maydell
On 8 September 2012 22:12, Aurelien Jarno wrote: > +#define VARITHFPFMA(suffix, type) \ > +void helper_v##suffix(CPUPPCState *env, ppc_avr_t *r, ppc_avr_t *a, \ > + ppc_avr_t *b, ppc_avr_t *c) \ > +{

[Qemu-devel] [PATCH 4/5] target-ppc: use the softfloat float32_muladd function

2012-09-08 Thread Aurelien Jarno
Use the new softfloat float32_muladd() function to implement the vmaddfp and vnmsubfp instructions. As a bonus we can get rid of the call to the HANDLE_NAN3 macro, as the NaN handling is directly done at the softfloat level. Cc: Alexander Graf Signed-off-by: Aurelien Jarno --- target-ppc/int_he