This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/78904] zero-extracts are not effective
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Dec 2016 21:40:42 +0000
- Subject: [Bug middle-end/78904] zero-extracts are not effective
- Auto-submitted: auto-generated
- References: <bug-78904-4@http.gcc.gnu.org/bugzilla/>
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