------- Comment #3 from ubizjak at gmail dot com 2008-08-03 16:59 ------- GNU C (GCC) version 4.4.0 20080803 (experimental) is now much smarter, several rewrites of math ops now result in:
foobar: pushl %ebp movl %esp, %ebp flds a fmuls b flds a+4 fmuls b+4 faddp %st, %st(1) popl %ebp ret So, fixed for 4.4. -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18766