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, \
> > +
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) \
> +{
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