This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/77729] aarch64 inserts unneeded uxtb after ldrb, orr ...32
- From: "fw at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 25 Sep 2016 15:11:54 +0000
- Subject: [Bug target/77729] aarch64 inserts unneeded uxtb after ldrb, orr ...32
- Auto-submitted: auto-generated
- References: <bug-77729-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77729
Florian Weimer <fw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fw at gcc dot gnu.org
--- Comment #7 from Florian Weimer <fw at gcc dot gnu.org> ---
Something similar happens on x86_64 with -Os. The OR instruction operates on
%eax instead of %al:
0000000000000000 <TrieCase3>:
0: 8a 07 mov (%rdi),%al
2: 83 c8 20 or $0x20,%eax
5: 3c 74 cmp $0x74,%al
(Byte-wise OR would be 0x0c 0x20, one byte shorter.)