This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]