[Discuss] Disassembled code

pw p.willis at telus.net
Tue Jun 26 14:45:55 PDT 2007


Daniel M. German wrote:
> For those who can still read assembly.
> 
> Here is the disassembled code, with the addresses replaced with
> symbolic names. The two sequences of instructions are identical,
> except for the fstpl and fldl (to and from temp).
> 
> I can only think that these instructions reset the FPU registers, but
> I can't find their description on the web any more :(
> 
> dmg
> 


Here is a thread from the gcc bug site:

http://gcc.gnu.org/ml/gcc-bugs/1999-12/msg00216.html

His disassembled code example is similar to the problem you
are demonstrating.

If you step through the thread the use of 'volatile'
is suggested as the solution to keep fp values out of
registers.

The -ffloat-store flag has, apparently, never worked
all that well.


Peter



More information about the Discuss mailing list