Re: loading of wsock32 disturbs FPU

2005-03-03 Thread Christopher Faylor
On Thu, Mar 03, 2005 at 08:15:08PM +1300, Danny Smith wrote: >cgf wrote: >>On Wed, Mar 02, 2005 at 03:37:42PM +0100, Corinna Vinschen wrote: >>>On Mar 2 15:31, Corinna Vinschen wrote: On Mar 2 13:33, Dave Korn wrote: >Hm. We probably need to put a finit instruction into the autoload code

RE: loading of wsock32 disturbs FPU

2005-03-03 Thread Dave Korn
Original Message >From: Christopher Faylor >Sent: 03 March 2005 00:59 > I've checked in a patch to cygwin which saves and restores the FPU control > register around calls to LoadLibrary. That seems to solve the problem. Confirmed here, but why did you remove the comment? It's still t

Re: loading of wsock32 disturbs FPU

2005-03-02 Thread Danny Smith
cgf wrote: >On Wed, Mar 02, 2005 at 03:37:42PM +0100, Corinna Vinschen wrote: >>On Mar 2 15:31, Corinna Vinschen wrote: >>>On Mar 2 13:33, Dave Korn wrote: Hm. We probably need to put a finit instruction into the autoload code somewhere. wsock_init () looks like just the place.. now

Re: loading of wsock32 disturbs FPU

2005-03-02 Thread Christopher Faylor
On Wed, Mar 02, 2005 at 11:32:39AM -0500, Christopher Faylor wrote: >On Wed, Mar 02, 2005 at 03:37:42PM +0100, Corinna Vinschen wrote: >>On Mar 2 15:31, Corinna Vinschen wrote: >>>On Mar 2 13:33, Dave Korn wrote: Hm. We probably need to put a finit instruction into the autoload code somew

Re: loading of wsock32 disturbs FPU

2005-03-02 Thread Christopher Faylor
On Wed, Mar 02, 2005 at 06:42:13PM -, Dave Korn wrote: >Original Message >>From: Christopher Faylor >>Sent: 02 March 2005 17:41 > >> On Wed, Mar 02, 2005 at 05:21:55PM -, Dave Korn wrote: >>> And I can confirm that adding 'asm ("finit");' to wsock_init (I put it >>> inside the "if (

RE: loading of wsock32 disturbs FPU

2005-03-02 Thread Dave Korn
Original Message >From: Christopher Faylor >Sent: 02 March 2005 17:41 > On Wed, Mar 02, 2005 at 05:21:55PM -, Dave Korn wrote: >> And I can confirm that adding 'asm ("finit");' to wsock_init (I put it >> inside the "if (!wsock_started)" clause, just after the closing brace >> of the "i

Re: loading of wsock32 disturbs FPU

2005-03-02 Thread Christopher Faylor
On Wed, Mar 02, 2005 at 05:21:55PM -, Dave Korn wrote: >And I can confirm that adding 'asm ("finit");' to wsock_init (I put it >inside the "if (!wsock_started)" clause, just after the closing brace >of the "if (wsastartup)" clause) fixes both the testcase that Ralf >posted this morning and also

RE: loading of wsock32 disturbs FPU

2005-03-02 Thread Dave Korn
Original Message >From: Christopher Faylor >Sent: 02 March 2005 16:33 > On Wed, Mar 02, 2005 at 03:37:42PM +0100, Corinna Vinschen wrote: >> On Mar 2 15:31, Corinna Vinschen wrote: >>> On Mar 2 13:33, Dave Korn wrote: Hm. We probably need to put a finit instruction into the autoload

RE: loading of wsock32 disturbs FPU

2005-03-02 Thread Dave Korn
Original Message >From: Corinna Vinschen >Sent: 02 March 2005 14:32 > On Mar 2 13:33, Dave Korn wrote: >> Hm. We probably need to put a finit instruction into the autoload code >> somewhere. wsock_init () looks like just the place.. now if I just >> persuade the CVS code to build

Re: loading of wsock32 disturbs FPU

2005-03-02 Thread Christopher Faylor
On Wed, Mar 02, 2005 at 03:37:42PM +0100, Corinna Vinschen wrote: >On Mar 2 15:31, Corinna Vinschen wrote: >>On Mar 2 13:33, Dave Korn wrote: >>>Hm. We probably need to put a finit instruction into the autoload code >>>somewhere. wsock_init () looks like just the place.. now if I >>>just pe

Re: loading of wsock32 disturbs FPU

2005-03-02 Thread Corinna Vinschen
On Mar 2 15:31, Corinna Vinschen wrote: > On Mar 2 13:33, Dave Korn wrote: > > Hm. We probably need to put a finit instruction into the autoload code > > somewhere. wsock_init () looks like just the place.. now if I just > > persuade the CVS code to build without a SIG11 (grmbl grmbl

Re: loading of wsock32 disturbs FPU

2005-03-02 Thread Corinna Vinschen
On Mar 2 13:33, Dave Korn wrote: > Hm. We probably need to put a finit instruction into the autoload code > somewhere. wsock_init () looks like just the place.. now if I just > persuade the CVS code to build without a SIG11 (grmbl grmbl) Hmm? -v please. Corinna -- Corinna Vinsch

RE: loading of wsock32 disturbs FPU

2005-03-02 Thread Dave Korn
Original Message >From: Ralf B. Schulz >Sent: 02 March 2005 12:07 > This is a follow-up on thread "1.5.12: FPU affected by gethostname call". > It shows that calling some functions of the windows API will affect the > floating point unit so that all calculation are performed with double >

loading of wsock32 disturbs FPU

2005-03-02 Thread Ralf B. Schulz
This is a follow-up on thread "1.5.12: FPU affected by gethostname call". It shows that calling some functions of the windows API will affect the floating point unit so that all calculation are performed with double precision only, instead of long double precision. After careful examination, th