ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/09/02:46:11

Message-Id: <s16aaeb2.061@MAIL.TAIT.CO.NZ>
Date: Tue, 09 Apr 1996 18:39:12 +1200
From: Bill Currie <bill_currie AT MAIL DOT TAIT DOT CO DOT NZ>
To: mlarch AT fred DOT net
Cc: djgpp AT delorie DOT com
Subject: Re: REPOST: [q] inline coprocesser instructions/ FPU stack

On 9/4/96  12:25 am, <mlarch AT fred DOT net> did thus say >>>
> Maybe you can clear this up for me, regarding keeping the FPU stack
> clean/the way I `expect it to be' --
> 
> How/Why duz:
> 	asm("fldl %0" : : "f" (double_arg) );

                        ^ change the 'f' to a 'g'.  The f tells gcc that you want
                          'double_arg' to be in a fp reg.

Hope this helps
Bill


- Raw text -


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