This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/22884] RISCV fmax/fmin handle signalling NANs incorrectly


https://sourceware.org/bugzilla/show_bug.cgi?id=22884

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.27/master has been updated
       via  df3ff4e49d4ee3cbbdaeb0b1cb5dc2344c08be98 (commit)
       via  aab08776cc8f6dbafaa6efcb7e1bb374a21ab823 (commit)
       via  94145309f5beff5f495c443fb544d604515b07d0 (commit)
      from  3b922526415d1af93fe5a0e3caf7e6a790cb1619 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=df3ff4e49d4ee3cbbdaeb0b1cb5dc2344c08be98

commit df3ff4e49d4ee3cbbdaeb0b1cb5dc2344c08be98
Author: DJ Delorie <dj@redhat.com>
Date:   Fri Feb 23 16:08:08 2018 -0500

    Update ChangeLog for BZ 22884 - riscv fmax/fmin

    (cherry picked from commit 7e04eb2932d3126c721ee2bc0d664a5bbea2f41f)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=aab08776cc8f6dbafaa6efcb7e1bb374a21ab823

commit aab08776cc8f6dbafaa6efcb7e1bb374a21ab823
Author: Andrew Waterman <andrew@sifive.com>
Date:   Thu Feb 22 14:31:54 2018 -0500

    RISC-V: fmax/fmin: Handle signalling NaNs correctly.

    RISC-V's fmax(sNAN,4) returns 4 but glibc expects it to return qNAN.

        * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
        * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
        * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
        * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.

    (cherry picked from commit fdcc625376505eacb1125a6aeba57501407a30ec)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=94145309f5beff5f495c443fb544d604515b07d0

commit 94145309f5beff5f495c443fb544d604515b07d0
Author: DJ Delorie <dj@redhat.com>
Date:   Thu Feb 22 14:28:47 2018 -0500

    RISC-V: Do not initialize $gp in TLS macros.

    RISC-V TLS doesn't require GP to be initialized, and doing so breaks
    TLS in a shared object.

    (cherry picked from commit 8090720a87e42fddc31396f6126112d4b8014d8e)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |   12 ++++++++++++
 sysdeps/riscv/rvd/s_fmax.c  |   11 +++++++++--
 sysdeps/riscv/rvd/s_fmin.c  |   11 +++++++++--
 sysdeps/riscv/rvf/s_fmaxf.c |   11 +++++++++--
 sysdeps/riscv/rvf/s_fminf.c |   11 +++++++++--
 sysdeps/riscv/tls-macros.h  |   20 +++-----------------
 6 files changed, 51 insertions(+), 25 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]