delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/12/07:07:25

From: horst DOT kraemer AT t-online DOT de (Horst Kraemer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: fpu instructions
Date: Tue, 12 Oct 1999 08:56:30 GMT
Organization: T-Online
Lines: 21
Message-ID: <38025ba6.41791523@news.btx.dtag.de>
References: <3800EBE0 DOT 184F5291 AT ibm DOT net>
Mime-Version: 1.0
X-Trace: news06.btx.dtag.de 939714972 26394 0306239354-0001 991012 07:56:12
X-Complaints-To: abuse AT t-online DOT de
X-Sender: 0306239354-0001 AT t-dialin DOT net
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 10 Oct 1999 21:41:21 +0200, yhirsch <yhirsch AT ibm DOT net> wrote:

>     I use __asm__ inside some functions, and inside it, I use fpu
> instructions. The
>     program doesn't work, unless I add finit at the begining of the
> __asm__ paragraph.
>     Is that really necessary?

On the contrary. It may be damaging if you use it without saving and
restoring the FPU's previous state (control word).

> Any ideas how to solve this?

How to solve what ?

Using assembly you may produce hundreds of errors. How do we know what
your error is ?

Regards
Horst

- Raw text -


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