This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/71775] Redundant move instruction for sign extension
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 06 Jul 2016 06:07:10 +0000
- Subject: [Bug target/71775] Redundant move instruction for sign extension
- Auto-submitted: auto-generated
- References: <bug-71775-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71775
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-*-*
Component|tree-optimization |target
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
On aarch64-linux-gnu with the trunk we get:
.L3:
rbit x3, x0
sub x1, x0, #1
clz x3, x3
eor x2, x2, x3
ands x0, x0, x1
bne .L3
There is no zero or sign extend.