------- Comment #5 from hjl dot tools at gmail dot com  2010-04-25 22:01 -------
(In reply to comment #4)
> Btw, with the "optimal" options -O2 -fwhole-program -fomit-frame-pointer
> -mpreferred-stack-boundary=2 GCC 4.3 and 4.4 are slower than 4.1 and 4.5
> (14.3s vs. 13.8s).  The extra stack alignment drops us to 16.4s(!).
>

The slowdown also happens on x86-64. Stack alignment checks
leaf function. But I am sure if it detects tail-recursion.
Is such information available to ix86_finalize_stack_realign_flags? 


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|hjl at gcc dot gnu dot org  |hjl dot tools at gmail dot
                   |                            |com


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

Reply via email to