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 middle-end/78904] zero-extracts are not effective


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

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 40405
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40405&action=edit
Prototype patch for addqi_ext_[1,2] patterns

The prototype patch compiles the testcase to:

        movl    %edi, %edx
        movl    %esi, %eax
        xorw    %di, %di
        addb    %dh, %ah
        movzwl  %ax, %eax
        orl     %edi, %eax

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