This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/48688] [x64]: shift/or instead of lea
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Apr 2011 10:04:39 +0000
- Subject: [Bug rtl-optimization/48688] [x64]: shift/or instead of lea
- Auto-submitted: auto-generated
- References: <bug-48688-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48688
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-20 10:04:37 UTC ---
int foo (int x) { return (x << 3) | 5; }
int bar (int x) { return (x * 8) + 5; }
int baz (int x) { return (x << 3) + 5; }