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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070721195830.GK22998@lug-owl.de>
Date:	Sat, 21 Jul 2007 21:58:30 +0200
From:	Jan-Benedict Glaw <jbglaw@...-owl.de>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	"Robert P. J. Day" <rpjday@...dspring.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: from where comes "__moddi3"?

On Sat, 2007-07-21 21:31:13 +0200, Peter Zijlstra <peterz@...radead.org> wrote:
> On Sat, 2007-07-21 at 15:21 -0400, Robert P. J. Day wrote:
> 
> use do_div().
> 
> 16 works because gcc translates that into a right shift.

Right shift?  Doesn't it just mask out everything but the low 4 bit?

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@...-owl.de              +49-172-7608481
Signature of:             God put me on earth to accomplish a certain number of
the second  :            things. Right now I am so far behind I will never die.

Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ