mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: Peter Zijlstra <peterz@infradead.org>
Cc: "Robert P. J. Day" <rpjday@mindspring.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: from where comes "__moddi3"?
Date: Sat, 21 Jul 2007 21:58:30 +0200	[thread overview]
Message-ID: <20070721195830.GK22998@lug-owl.de> (raw)
In-Reply-To: <1185046274.5652.15.camel@lappy>

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-07-21 19:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-21 19:21 Robert P. J. Day
2007-07-21 19:31 ` Peter Zijlstra
2007-07-21 19:34   ` Robert P. J. Day
2007-07-21 19:58   ` Jan-Benedict Glaw [this message]
2007-07-21 20:00     ` Peter Zijlstra
2007-07-21 19:33 ` Alexander Shishkin
2007-07-21 19:34   ` Jan Engelhardt
2007-07-21 20:00     ` Alexander Shishkin
2007-07-21 21:27       ` David Schwartz
2007-07-21 22:02         ` Arjan van de Ven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070721195830.GK22998@lug-owl.de \
    --to=jbglaw@lug-owl.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=rpjday@mindspring.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®