Re: [Qemu-devel] [PATCH] softfloat: Handle default NaN mode after pickNaNMulAdd, not before

2018-05-08 Thread Peter Maydell
On 8 May 2018 at 12:30, Alex Bennée wrote: > > Peter Maydell writes: > >> It is implementation defined whether a multiply-add of >> (0,inf,qnan) or (inf,0,qnan) raises InvalidaOperation or >> not, so we let the target-specific pickNaNMulAdd function >> handle this. This means that we must do the

Re: [Qemu-devel] [PATCH] softfloat: Handle default NaN mode after pickNaNMulAdd, not before

2018-05-08 Thread Alex Bennée
Peter Maydell writes: > It is implementation defined whether a multiply-add of > (0,inf,qnan) or (inf,0,qnan) raises InvalidaOperation or > not, so we let the target-specific pickNaNMulAdd function > handle this. This means that we must do the "return the > default NaN in default NaN mode" check

Re: [Qemu-devel] [PATCH] softfloat: Handle default NaN mode after pickNaNMulAdd, not before

2018-05-07 Thread Richard Henderson
On 05/04/2018 03:05 AM, Peter Maydell wrote: > It is implementation defined whether a multiply-add of > (0,inf,qnan) or (inf,0,qnan) raises InvalidaOperation or > not, so we let the target-specific pickNaNMulAdd function > handle this. This means that we must do the "return the > default NaN in def

[Qemu-devel] [PATCH] softfloat: Handle default NaN mode after pickNaNMulAdd, not before

2018-05-04 Thread Peter Maydell
It is implementation defined whether a multiply-add of (0,inf,qnan) or (inf,0,qnan) raises InvalidaOperation or not, so we let the target-specific pickNaNMulAdd function handle this. This means that we must do the "return the default NaN in default NaN mode" check after the call, not before. Correc