[Bug middle-end/38751] [4.2/4.3 regression] odd performance regression with -Os

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 15 13:57:00 GMT 2009



------- Comment #3 from jakub at gcc dot gnu dot org  2009-01-15 13:57 -------
Fixed on the trunk:
-O2:
        movzbl  %dil, %edi
        movzwl  -2(%rsi,%rdi,2), %eax
        ret
-Os:
        movzbl  %dil, %edi
        movw    -2(%rsi,%rdi,2), %ax
        ret


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4 regression] odd|[4.2/4.3 regression] odd
                   |performance regression with |performance regression with
                   |-Os                         |-Os


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



More information about the Gcc-bugs mailing list