qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v3] target/mips: Fix minor bug in FPU


From: Mateja Marjanovic
Subject: [Qemu-devel] [PATCH v3] target/mips: Fix minor bug in FPU
Date: Tue, 19 Mar 2019 16:21:55 +0100

From: Mateja Marjanovic <address@hidden>

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

[Prev in Thread] Current Thread [Next in Thread]