lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 26 Feb 2007 17:20:34 -0800 From: "H. Peter Anvin" <hpa@...or.com> To: Stephen Hemminger <shemminger@...ux-foundation.org> CC: Jan Engelhardt <jengelh@...ux01.gwdg.de>, linux-kernel@...r.kernel.org, netdev@...r.kernel.org Subject: Re: [RFC] div64_64 support Stephen Hemminger wrote: > > Hmm. Those are the GCC internal versions, that are picked up but > doing divide in place. Do we want to allow general 64 bit in kernel to > be easily used? It could cause sloppy slow code, but it would look > cleaner. > ... and it would handle datatypes which may be architecture-dependent a lot cleaner. I thought the motivation for div64() was that a 64:32->32 divide could be done a lot faster on a number of platforms (including the important x86) than a generic 64:64->64 divide, but gcc doesn't handle the devolution automatically -- there is no such libgcc function. -hpa - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists