Xref: news2.mv.net comp.os.msdos.djgpp:2537 From: mlarch AT fred DOT net ( ) Newsgroups: comp.os.msdos.djgpp Subject: REPOST: [q] inline coprocesser instructions/ FPU stack Date: 8 Apr 1996 12:25:25 GMT Organization: FredNet - Frederick, Md. Lines: 22 Message-ID: <4kb0jm$uvl@dec-alpha.fred.net> NNTP-Posting-Host: bigdog.fred.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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) ); become: 1: /NO_APP 2: fldl _double_arg 3: /APP 4: fldl %st 5: /NO_APP 6: fstp %st(0) 7: Lines 4 and 6 don't leave st(0) with double_arg. gcc insists on putting these extra instructions in the S file. What is gcc doing ? Can I stop this, am I missing something ? Thanks, mlarch AT fred DOT net