From: Mateja Marjanovic <mateja.marjano...@rt-rk.com>

The if-else statement indicates if the system conforms to
IEEE 754-1985 or IEEE 754-2008, and it has different
behaviour depending on that.

v3:
 - In case of IEEE 754-1985, return the default-NaN and raise
   floating point exception 'Invalid Operation' [1](page 349, 350), when infzero
   is present.
 - In case of IEEE 754-2008, return the input value 'c' [2](page 51) and
   raise floating point exception 'Invalid Operation' [1](page 349, 350),
   when infzero is present.
 - Comments were modified

[1] MIPS Architecture For Programmers Volume II-A: The MIPS64
    Instruction Set Reference Manual
[2] MIPS Architecture for Programmers Volume IV-j: The MIPS32
    SIMD Architecture Module

Mateja Marjanovic (1):
  target/mips: Fix minor bug in FPU

 fpu/softfloat-specialize.h | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

-- 
2.7.4


Reply via email to