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

ajrobb at bigfoot dot com gcc-bugzilla@gcc.gnu.org
Sat Sep 20 17:34:00 GMT 2008



------- Comment #3 from ajrobb at bigfoot dot com  2008-09-20 17:32 -------
Created an attachment (id=16369)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16369&action=view)
proposed 32-bit API calls for 64-bit constant divison

I have attached a sample assembler code for a API calls for the 2 types of
64-bit division through multiplication:

mul0shift - for multiplier with 64 or fewer significant bits

mul1shift - for multiplier with 65 significant bits (implicit high bit)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37443



More information about the Gcc-bugs mailing list