Re: Why all glibc2 programs are FPU programs

James Mastros (root@jennifer-unix.dyn.ml.org)
Wed, 27 May 1998 20:31:23 -0400 (EDT)


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