This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/48077] [Code Improvement] Use multiplication by magic number for integer division by constant
- From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Mar 2011 18:34:43 +0000
- Subject: [Bug rtl-optimization/48077] [Code Improvement] Use multiplication by magic number for integer division by constant
- Auto-submitted: auto-generated
- References: <bug-48077-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48077
--- Comment #2 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2011-03-11 18:34:41 UTC ---
OK, interesting, thanks for the information. It seems the analysis of the cost
is not particularly good here. I'll dig into where the expansion is occurring.