Re: from where comes "__moddi3"?

From: Jan-Benedict Glaw
Date: Sat Jul 21 2007 - 15:58:44 EST


On Sat, 2007-07-21 21:31:13 +0200, Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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@xxxxxxxxxx +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.

Attachment: signature.asc
Description: Digital signature