From: Arjan van de Ven <arjan@infradead.org>
To: davids@webmaster.com
Cc: "Linux-Kernel@Vger. Kernel. Org" <linux-kernel@vger.kernel.org>
Subject: RE: from where comes "__moddi3"?
Date: Sat, 21 Jul 2007 15:02:42 -0700 [thread overview]
Message-ID: <1185055362.2714.9.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <MDEHLPKNGKAHNMBLJOLKGEAPFIAC.davids@webmaster.com>
On Sat, 2007-07-21 at 14:27 -0700, David Schwartz wrote:
> > On 7/21/07, Jan Engelhardt <jengelh@computergmbh.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.
prev parent reply other threads:[~2007-07-21 22:04 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
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 [this message]
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=1185055362.2714.9.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=davids@webmaster.com \
--cc=linux-kernel@vger.kernel.org \
/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®