lkml.org 
[lkml]   [1998]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Why all glibc2 programs are FPU programs
On Wed, 27 May 1998, Adam J. Richter wrote:
> You could get advtanges 1 and 2 if you had a setdefaultfpucw
> system call. The downardly compatibile initialization code in glibc
> could look like this:
>
> if (setdefaultpfpucw(__fpu_control) == -1 && errno == ENOSYS)
> setfpucw(__fpu_control);
>
> What do you think of this additional alternative?

Damm... I was just about to suggest that. It should be fairly simple...

Later: Here it is, as an untested patch vs. 2.1.104-pre1. (The kernel
boots fine, the Gimp runs.)

-=- James Mastros

--
True mastery is knowing enough to bullshit the rest.
-=- Me


-
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:2.218 / U:1.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site