From: Avi Kivity <avi@redhat.com>
To: anthony@codemonkey.ws, agraf@suse.de, aik@ozlabs.ru,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Memory API bugfix - abolish addrrrange_end()
Date: Sun, 16 Oct 2011 14:35:37 +0200 [thread overview]
Message-ID: <4E9ACF99.9020507@redhat.com> (raw)
In-Reply-To: <20111016114011.GG4580@truffala.fritz.box>
On 10/16/2011 01:40 PM, David Gibson wrote:
> > Let me see if I can work up a synthetic int128 type.
>
> So.. you think replacing every single basic arithmetic operations with
> calls to implement the synthetic type, _and_ imposing the resulting
> overhead is _less_ ugly than some slightly fiddly re-ordering of
> operations? Seriously?
>
In terms of how the code looks, it's seriously more ugly (see the
patches I sent out). Conceptually it's cleaner, since we're not dodging
the issue that we need to deal with a full 64-bit domain.
But my main concern is maintainability. The 64-bit blanket is to short,
if we keep pulling it in various directions we'll just expose ourselves
in new ways.
The overhead is negligible. This code comes nowhere near any fast path.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2011-10-16 12:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 2:37 [Qemu-devel] [PATCH] Memory API bugfix - abolish addrrrange_end() David Gibson
2011-10-16 9:56 ` Avi Kivity
2011-10-16 11:40 ` David Gibson
2011-10-16 12:35 ` Avi Kivity [this message]
2011-10-17 5:31 ` David Gibson
2011-10-17 10:34 ` Avi Kivity
2011-10-18 1:38 ` David Gibson
2011-10-18 9:49 ` Avi Kivity
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=4E9ACF99.9020507@redhat.com \
--to=avi@redhat.com \
--cc=agraf@suse.de \
--cc=aik@ozlabs.ru \
--cc=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.