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: "piotr.wyderski at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Apr 2011 18:00:52 +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
--- Comment #1 from Piotr Wyderski <piotr.wyderski at gmail dot com> 2011-04-19 18:00:50 UTC ---
(In reply to comment #0)
> If k is small (on x86/x64 k = 1, 2, 4, 8)
Of course it should be k = 0, 1, 2, 3, the values above are 1 << k.