------- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-22 21:01 ------- On the mainline we get: subl $12, %esp fld1 faddl 16(%esp) fstpl (%esp) movl 4(%esp), %eax addl $12, %esp andl $-2147483648, %eax ret
Which is optimial as there is no extra movl and there is fld1. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21508