www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/06/13:28:09

Date: Thu, 6 May 1999 19:11:00 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: DJ Delorie <dj AT delorie DOT com>, Nate Eldredge <nate AT cartsys DOT com>
cc: djgpp-workers AT delorie DOT com, sandmann AT clio DOT rice DOT edu
Subject: Re: _clear87 at exit
In-Reply-To: <199905061407.KAA12145@envy.delorie.com>
Message-ID: <Pine.SUN.3.91.990506185918.8142A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 6 May 1999, DJ Delorie wrote:

> I wouldn't call _clear87() unless we know we've detected and used the
> FPU, else exiting the program may *load* the FPU emulator.

Right.  This is easy enough to do, I just have to look at the value of 
_8087.

Hmm... it seems we need to change npxsetup.c to set _8087 when $387 is 
set to Y in the environment.  Right now it is left at zero; however, my 
references indicate that in Borland _8087's value reflects the override 
of the environment.  Comments?

Nate, is there any reason why _8087 isn't set in the case of 387=Y?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019