[Bug inline-asm/15228] useless copies of floating point operands

sylvain dot pion at sophia dot inria dot fr gcc-bugzilla@gcc.gnu.org
Fri Apr 30 15:57:00 GMT 2004


------- Additional Comments From sylvain dot pion at sophia dot inria dot fr  2004-04-30 15:51 -------
I still have gcc 2.95 around, so I have tested with it as well.
It produces the better code that I expected :

force2memdouble:
#APP
#NO_APP
        fldl 4(%esp)
        ret


So, if the code is correct, then this problem is a regression on code quality
compared to 2.95.


I want to mention that this asm() is critical when implementing interval
arithmetic.  Also, GMP uses that kind of asm() in mpz_get_d_2exp.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15228



More information about the Gcc-bugs mailing list