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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1185055362.2714.9.camel@laptopd505.fenrus.org>
Date:	Sat, 21 Jul 2007 15:02:42 -0700
From:	Arjan van de Ven <arjan@...radead.org>
To:	davids@...master.com
Cc:	"Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>
Subject: RE: from where comes "__moddi3"?

On Sat, 2007-07-21 at 14:27 -0700, David Schwartz wrote:
> > On 7/21/07, Jan Engelhardt <jengelh@...putergmbh.de> wrote:
> > > v & 0x0F  <=>  v % 16
> > Indeed. (Why would anyone want to mod/div by 15 anyway?). My bad.
> 
> Actually, it's the compiler's bad. That's a pretty fundamental equivalence that the compiler should recognize for native integral types.

for unsigned ones for sure yes... but the original question was about 15
not 16.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ