From: Anthony Liguori <anthony@codemonkey.ws>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0.16 v3 0/3] make endian-independent unaligned memory access functions available to libhw
Date: Fri, 29 Jul 2011 09:19:05 -0500 [thread overview]
Message-ID: <4E32C159.5050409@codemonkey.ws> (raw)
In-Reply-To: <1311847830-4307-1-git-send-email-pbonzini@redhat.com>
On 07/28/2011 05:10 AM, Paolo Bonzini wrote:
> Functions like ldl_be_p and ldl_le_p are currently used only as building
> blocks for {ld,st}XX_p. As such, they are in cpu-all.h even though they
> have absolutely no dependency on the target.
>
> In order to make them globally available, this series moves them to
> bswap.h instead.
>
> An interesting part of this is that there are functions also for floating
> point values. Leaving them in cpu-all.h would be possible but untidy.
> In fact handling these is easy, but it requires to make softfloat.h
> target-dependent as well. This is what patch 2 does.
Applied. Thanks.
Regards,
Anthony Liguori
>
> v2->v3:
> rebase
>
> v1->v2:
> rebase, use softfloat-specialize.h instead of introducing
> softfloat-target.h
>
> Paolo Bonzini (3):
> move WORDS_ALIGNED to qemu-common.h
> softfloat: change default nan definitions to variables
> move unaligned memory access functions to bswap.h
>
> Makefile.hw | 2 +-
> bswap.h | 474 ++++++++++++++++++++++++++++++++++++++++++++
> configure | 3 +-
> cpu-all.h | 446 +-----------------------------------------
> cpu-common.h | 4 -
> fpu/softfloat-specialize.h | 72 +++++++
> fpu/softfloat.h | 60 +-----
> qemu-common.h | 4 +
> 8 files changed, 562 insertions(+), 503 deletions(-)
>
prev parent reply other threads:[~2011-07-29 14:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-28 10:10 [Qemu-devel] [PATCH 0.16 v3 0/3] make endian-independent unaligned memory access functions available to libhw Paolo Bonzini
2011-07-28 10:10 ` [Qemu-devel] [PATCH 0.16 v3 1/3] move WORDS_ALIGNED to qemu-common.h Paolo Bonzini
2011-07-28 10:10 ` [Qemu-devel] [PATCH 0.16 v3 2/3] softfloat: change default nan definitions to variables Paolo Bonzini
2011-07-28 10:10 ` [Qemu-devel] [PATCH 0.16 v3 3/3] move unaligned memory access functions to bswap.h Paolo Bonzini
2011-07-29 14:19 ` Anthony Liguori [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=4E32C159.5050409@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=pbonzini@redhat.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).