public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ports/15492] New: ARM fesetenv doesn't preserve RunFast (reserved bits out of date)
@ 2013-05-20  4:22 adam at spicenitz dot org
  2013-05-20 12:12 ` [Bug ports/15492] " joseph at codesourcery dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: adam at spicenitz dot org @ 2013-05-20  4:22 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15492

             Bug #: 15492
           Summary: ARM fesetenv doesn't preserve RunFast (reserved bits
                    out of date)
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ports
        AssignedTo: unassigned@sourceware.org
        ReportedBy: adam@spicenitz.org
                CC: carlos@redhat.com, roland@gnu.org
    Classification: Unclassified


_FPU_RESERVED in ports/sysdeps/arm/fpu_control.h is out of date. It improperly
masks bits that are now valid, including the Default NaN bit. This means
"RunFast" mode (where bits 24 and 25 are set) does not work across fesetenv.


Here is a more recent list of this bits:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0438h/CDEFCBDC.html

Given this new documentation, perhaps _FPU_RESERVED should now read as 0x8FF60.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug ports/15492] ARM fesetenv doesn't preserve RunFast (reserved bits out of date)
  2013-05-20  4:22 [Bug ports/15492] New: ARM fesetenv doesn't preserve RunFast (reserved bits out of date) adam at spicenitz dot org
@ 2013-05-20 12:12 ` joseph at codesourcery dot com
  2013-05-20 14:23 ` adam at spicenitz dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: joseph at codesourcery dot com @ 2013-05-20 12:12 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15492

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2013-05-20 12:12:32 UTC ---
On Mon, 20 May 2013, adam at spicenitz dot org wrote:

> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0438h/CDEFCBDC.html
> 
> Given this new documentation, perhaps _FPU_RESERVED should now read as 0x8FF60.

You're looking at documentation for one particular processor, which lists 
as reserved bits that on other processors aren't reserved (e.g. trap 
enable bits).  DDI0406C suggests the correct reserved bits are 0x86060.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug ports/15492] ARM fesetenv doesn't preserve RunFast (reserved bits out of date)
  2013-05-20  4:22 [Bug ports/15492] New: ARM fesetenv doesn't preserve RunFast (reserved bits out of date) adam at spicenitz dot org
  2013-05-20 12:12 ` [Bug ports/15492] " joseph at codesourcery dot com
@ 2013-05-20 14:23 ` adam at spicenitz dot org
  2013-06-14 21:21 ` jsm28 at gcc dot gnu.org
  2014-06-13 17:43 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: adam at spicenitz dot org @ 2013-05-20 14:23 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15492

--- Comment #2 from Adam Goode <adam at spicenitz dot org> 2013-05-20 14:23:53 UTC ---
Yes, 0x86060 looks right.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug ports/15492] ARM fesetenv doesn't preserve RunFast (reserved bits out of date)
  2013-05-20  4:22 [Bug ports/15492] New: ARM fesetenv doesn't preserve RunFast (reserved bits out of date) adam at spicenitz dot org
  2013-05-20 12:12 ` [Bug ports/15492] " joseph at codesourcery dot com
  2013-05-20 14:23 ` adam at spicenitz dot org
@ 2013-06-14 21:21 ` jsm28 at gcc dot gnu.org
  2014-06-13 17:43 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-06-14 21:21 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15492

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

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

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.18 by:

commit c69f6af9e5a03620c253e75fd925d38adaa3c039
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Jun 14 21:19:35 2013 +0000

    Update ARM _FPU_RESERVED value.

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


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

* [Bug ports/15492] ARM fesetenv doesn't preserve RunFast (reserved bits out of date)
  2013-05-20  4:22 [Bug ports/15492] New: ARM fesetenv doesn't preserve RunFast (reserved bits out of date) adam at spicenitz dot org
                   ` (2 preceding siblings ...)
  2013-06-14 21:21 ` jsm28 at gcc dot gnu.org
@ 2014-06-13 17:43 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 17:43 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

end of thread, other threads:[~2014-06-13 17:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-20  4:22 [Bug ports/15492] New: ARM fesetenv doesn't preserve RunFast (reserved bits out of date) adam at spicenitz dot org
2013-05-20 12:12 ` [Bug ports/15492] " joseph at codesourcery dot com
2013-05-20 14:23 ` adam at spicenitz dot org
2013-06-14 21:21 ` jsm28 at gcc dot gnu.org
2014-06-13 17:43 ` fweimer at redhat dot com

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).