[Bug middle-end/37443] fast 64-bit divide by constant on 32-bit platform

ajrobb at bigfoot dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 16 07:16:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list