This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53110] GCC-4.7 generates stupid x86_64 asm
- From: "peterz at infradead dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Apr 2012 11:11:19 +0000
- Subject: [Bug target/53110] GCC-4.7 generates stupid x86_64 asm
- Auto-submitted: auto-generated
- References: <bug-53110-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53110
--- Comment #2 from peterz at infradead dot org 2012-04-25 11:11:19 UTC ---
I'll have to let Linus and Peter Anvin argue this (they're on CC), this report
is
the direct result of their complaints:
"If you can *ever* get gcc to generate those andl instructions on x86,
then please file a gcc bug report: the constant is 0xffffffff and those
are plain zero-extension instructions which is much better done with mov."
https://lkml.org/lkml/2012/4/24/524
"What insane version of gcc is that? Can you please make a gcc bug-report?"
https://lkml.org/lkml/2012/4/24/549
I'm just the sorry sod who wrote the code... :-)