This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37443] fast 64-bit divide by constant on 32-bit platform
- From: "ajrobb at bigfoot dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2008 07:15:11 -0000
- Subject: [Bug middle-end/37443] fast 64-bit divide by constant on 32-bit platform
- References: <bug-37443-8690@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from ajrobb at bigfoot dot com 2008-09-16 07:15 -------
I changed the summary as it is equally applicable to all 64-bit constant
divides on 32-bit x86 that are already compiled as multiplies on 64-bit x64. It
might be worth implementing as another API call, replacing the 64-bit divisor
with a 64-bit multiplier and a shift count.
--
ajrobb at bigfoot dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|fast 64-bit divide by |fast 64-bit divide by
|constant 32-bit |constant on 32-bit platform
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37443