This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6411] PowerPC: Extend fpu fenv operations to operate on 64-bit FPSCR
- From: "rsa at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Aug 2008 17:20:12 -0000
- Subject: [Bug libc/6411] PowerPC: Extend fpu fenv operations to operate on 64-bit FPSCR
- References: <20080415211350.6411.rsa@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From rsa at us dot ibm dot com 2008-08-21 17:20 -------
Created an attachment (id=2917)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2917&action=view)
Implements dynamic check for hwcap decimal feature to preserve the ABI.
The attached patch implements a dynamic check for PPC_FEATURE_HAS_DFP in the
_[GS]ET_FPUCW macros and only if it finds it will it operate on the 64-bit
FPSCR.
This method necessitates that some of the hwcap information be exposed. When
libc is loaded it will query the hwcap for the dfp feature bit and set an
exported variable. Users who include fpu_control and use _[GS]ET_FPUCW will
have these macros inlined into their code and will therefore reference the libc
provided symbol.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2893 is|0 |1
obsolete| |
Attachment #2909 is|0 |1
obsolete| |
http://sourceware.org/bugzilla/show_bug.cgi?id=6411
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.