public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/18610] New: S390: fetestexcept() reports any exception if DXC-code contains a vector instruction exception.
@ 2015-06-29  6:46 stli at linux dot vnet.ibm.com
  2015-08-26 11:26 ` [Bug math/18610] " jsm28 at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: stli at linux dot vnet.ibm.com @ 2015-06-29  6:46 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 18610
           Summary: S390: fetestexcept() reports any exception if DXC-code
                    contains a vector instruction exception.
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: stli at linux dot vnet.ibm.com
  Target Milestone: ---

On s390, the DXC(data-exception-code)-byte in FPC(floating-point-control)-
register contains a code of the last occured exception.
If bits 6 and 7 of DXC-byte are zero, the bits 0-5 correspond to the
ieee-exception flag bits.
The current implementation always uses these bits as ieee-exception flag bits.
fetestexcept() reports any exception after the first usage of a
vector-instruction in a process, because it raises an "vector instruction
exception" with DXC-code 0xFE.
This is the same if the DXC-code contains other exception codes like
"DFP instruction" or "Compare-and-trap instruction".

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug math/18610] S390: fetestexcept() reports any exception if DXC-code contains a vector instruction exception.
  2015-06-29  6:46 [Bug math/18610] New: S390: fetestexcept() reports any exception if DXC-code contains a vector instruction exception stli at linux dot vnet.ibm.com
@ 2015-08-26 11:26 ` jsm28 at gcc dot gnu.org
  2015-08-26 12:45 ` stli at linux dot vnet.ibm.com
  2015-10-29 16:35 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-26 11:26 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
If

commit 5d96fe8c0dc3450bafe6c2aae2dabc76819df3e0
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date:   Wed Aug 26 10:26:18 2015 +0200

    S390: Fix handling of DXC-byte in FPC-register.

did indeed fix this bug (as implied by it having been added to NEWS), please
close it as FIXED with the milestone set to 2.23.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug math/18610] S390: fetestexcept() reports any exception if DXC-code contains a vector instruction exception.
  2015-06-29  6:46 [Bug math/18610] New: S390: fetestexcept() reports any exception if DXC-code contains a vector instruction exception stli at linux dot vnet.ibm.com
  2015-08-26 11:26 ` [Bug math/18610] " jsm28 at gcc dot gnu.org
@ 2015-08-26 12:45 ` stli at linux dot vnet.ibm.com
  2015-10-29 16:35 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: stli at linux dot vnet.ibm.com @ 2015-08-26 12:45 UTC (permalink / raw)
  To: glibc-bugs

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

Stefan Liebler <stli at linux dot vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Stefan Liebler <stli at linux dot vnet.ibm.com> ---
fixed with commit
https://sourceware.org/git/?p=glibc.git;a=commit;h=5d96fe8c0dc3450bafe6c2aae2dabc76819df3e0

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug math/18610] S390: fetestexcept() reports any exception if DXC-code contains a vector instruction exception.
  2015-06-29  6:46 [Bug math/18610] New: S390: fetestexcept() reports any exception if DXC-code contains a vector instruction exception stli at linux dot vnet.ibm.com
  2015-08-26 11:26 ` [Bug math/18610] " jsm28 at gcc dot gnu.org
  2015-08-26 12:45 ` stli at linux dot vnet.ibm.com
@ 2015-10-29 16:35 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-10-29 16:35 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.23

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-29 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-29  6:46 [Bug math/18610] New: S390: fetestexcept() reports any exception if DXC-code contains a vector instruction exception stli at linux dot vnet.ibm.com
2015-08-26 11:26 ` [Bug math/18610] " jsm28 at gcc dot gnu.org
2015-08-26 12:45 ` stli at linux dot vnet.ibm.com
2015-10-29 16:35 ` jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).