[Bug rtl-optimization/68282] Optimization fails to remove unnecessary sign extension instruction

sgunderson at bigfoot dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 11 09:54:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68282

sgunderson at bigfoot dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sgunderson at bigfoot dot com

--- Comment #2 from sgunderson at bigfoot dot com ---
Shouldn't it be possible to fold the incl into the mov, too?

        shrl    $2, %edi
        movl    table+4(,%rdi,4), %eax
        retq


More information about the Gcc-bugs mailing list