qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 0/3] make endian-independent unaligned memory


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 0/3] make endian-independent unaligned memory access functions available to libhw
Date: Wed, 06 Jul 2011 15:29:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Mnenhy/0.8.3 Thunderbird/3.1.10

On 06/06/2011 04:25 PM, 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.

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(-)


Ping?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]