[Bug math/22697] New: [powerpc] llround spurious "inexact" exceptions on 32-bit power4

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug math/22697] New: [powerpc] llround spurious "inexact" exceptions on 32-bit power4

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22697

            Bug ID: 22697
           Summary: [powerpc] llround spurious "inexact" exceptions on
                    32-bit power4
           Product: glibc
           Version: 2.27
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: tuliom at linux dot vnet.ibm.com
  Target Milestone: ---

Similar to bug 19235, but only happens when the 32-bit power4 implementation is
being used.

FAIL: math/test-double-finite-llround
FAIL: math/test-double-llround
FAIL: math/test-float32-finite-llround
FAIL: math/test-float32-llround
FAIL: math/test-float32x-finite-llround
FAIL: math/test-float32x-llround
FAIL: math/test-float64-finite-llround
FAIL: math/test-float64-llround
FAIL: math/test-float-finite-llround
FAIL: math/test-float-llround


Failure: llround (0x1p31): Exception "Inexact" set
Failure: llround (0x1p32): Exception "Inexact" set
Failure: llround (0x1p33): Exception "Inexact" set
Failure: llround (-0x1p31): Exception "Inexact" set
Failure: llround (-0x1p32): Exception "Inexact" set
Failure: llround (-0x1p33): Exception "Inexact" set
Failure: llround (0x7fffff80p0): Exception "Inexact" set
Failure: llround (0x7fffffffp0): Exception "Inexact" set
Failure: llround (-0x80000001p0): Exception "Inexact" set
Failure: llround (-0x80000100p0): Exception "Inexact" set
Failure: llround (2097151.0): Exception "Inexact" set
Failure: llround (8388608.0): Exception "Inexact" set
Failure: llround (16777216.0): Exception "Inexact" set
Failure: llround (2199023255552.0): Exception "Inexact" set
Failure: llround (4398046511104.0): Exception "Inexact" set
Failure: llround (281474976710656.0): Exception "Inexact" set
Failure: llround (0x1.fffffep+23): Exception "Inexact" set
Failure: llround (-0x1.fffffep+23): Exception "Inexact" set
Failure: llround (0x1.000002p+23): Exception "Inexact" set
Failure: llround (-0x1.000002p+23): Exception "Inexact" set
Failure: llround (0x1.fffffep+23): Exception "Inexact" set
Failure: llround (-0x1.fffffep+23): Exception "Inexact" set
...

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug math/22697] [powerpc] llround spurious "inexact" exceptions on 32-bit power4

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22697

Tulio Magno Quites Machado Filho <tuliom at linux dot vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Host|                            |powerpc-linux-gnu
           Assignee|unassigned at sourceware dot org   |tuliom at linux dot vnet.ibm.com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug math/22697] [powerpc] llround spurious "inexact" exceptions on 32-bit power4

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22697

--- Comment #1 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, master has been updated
       via  af1e6be4ba60067907ea9e19e0cd6897d194e9cf (commit)
      from  98d13ce07a6aee9efb2ef2405a95c6bb8e01dca3 (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=af1e6be4ba60067907ea9e19e0cd6897d194e9cf

commit af1e6be4ba60067907ea9e19e0cd6897d194e9cf
Author: Tulio Magno Quites Machado Filho <[hidden email]>
Date:   Fri Jan 12 20:39:42 2018 -0200

    powerpc: Fix llround spurious inexact on 32-bit POWER4 [BZ #22697]

    This issue is similar to BZ #19235, where spurious exceptions are
    created from adding 0.5 then converting to an integer.
    The solution is based on Joseph's fix for BZ #19235.

        [BZ #22697]
        * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
        Do not add 0.5 to integer or out-of-range arguments.

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

Summary of changes:
 ChangeLog                                        |    6 ++++++
 sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S |    5 +++++
 2 files changed, 11 insertions(+), 0 deletions(-)

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug math/22697] [powerpc] llround spurious "inexact" exceptions on 32-bit power4

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22697

Tulio Magno Quites Machado Filho <tuliom at linux dot vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.27

--- Comment #2 from Tulio Magno Quites Machado Filho <tuliom at linux dot vnet.ibm.com> ---
Fixed in glibc 2.27

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