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: 20 Sep 2008 17:32:49 -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 #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