lkml.org 
[lkml]   [1998]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Why all glibc2 programs are FPU programs
From
Date
"Adam J. Richter" <adam@yggdrasil.com> writes:

> On x86 On one other linux port?
> Is the default floating point mode
> different from IEEE? ? ?


For Intel the kernel use s0x37f, libc uses now 0x137f which is indeed
IEEE. But there are some other value used, as mentioned several times
now, for using 53bit mantissa. This would be 0x127f.

For other platforms it'll become also important. Alpha has different
modes the FPU can run in and the PPC processors as well.

> In light of the answer to the first question, ? ?
> is being able to override fpu_control at
> link time important?

For all platforms it important since a whole program can be written
with a different FPU mode in mind. Using th -lieee trck is the usual
way to solve this problem.

-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:1.253 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site