qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH][PPC] Use float32/64 instead of float/double
Date: Fri, 25 Jan 2008 22:33:49 +0200	[thread overview]
Message-ID: <f43fc5580801251233n7eac65dej363e2406d8af07c5@mail.gmail.com> (raw)
In-Reply-To: <47975B47.6020603@aurel32.net>

On 1/23/08, Aurelien Jarno <aurelien@aurel32.net> wrote:
> Aurelien Jarno a écrit :
> > On Sun, Dec 30, 2007 at 06:32:45PM +0200, Blue Swirl wrote:
> >> On 12/30/07, Aurelien Jarno <aurelien@aurel32.net> wrote:
> >>> The patch below changes the float and double types into float32 and
> >>> and float64 types in the PPC code. This doesn't change anything when
> >>> using softfloat-native as the types are the same, but that helps
> >>> compiling the PPC target with softfloat.
> >> You could also consider replacing the unions with the common
> >> definition CPU_DoubleU in cpu-all.h and also add CPU_FloatU.
> >
> > Good idea. Please find and updated patch below.
> >
> >
> > The patch below uses the float32 and float64 types instead of the float
> > and double types in the PPC code. This doesn't change anything when
> > using softfloat-native as the types are the same, but that helps
> > compiling the PPC target with softfloat.
> >
> > It also defines a new union CPU_FloatU in addition to CPU_DoubleU, and
> > use them instead of identical unions that are defined in numerous
> > places.
> >
> >  cpu-all.h                  |    5
> >  target-ppc/op.c            |   83 ++------
> >  target-ppc/op_helper.c     |  418 +++++++++++++++------------------------------
> >  target-ppc/op_helper.h     |  104 +++--------
> >  target-ppc/op_helper_mem.h |   18 -
> >  target-ppc/op_mem.h        |   69 ++-----
> >  6 files changed, 240 insertions(+), 457 deletions(-)
>
>
> Any news about this patch?

Looks OK to me, but I can't test it. Anyway it's better to wait a bit
for Fabrice's new code generator.

      reply	other threads:[~2008-01-25 20:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-30 15:28 [Qemu-devel] [PATCH][PPC] Use float32/64 instead of float/double Aurelien Jarno
2007-12-30 16:32 ` Blue Swirl
2008-01-02 23:26   ` Aurelien Jarno
2008-01-23 15:20     ` Aurelien Jarno
2008-01-25 20:33       ` Blue Swirl [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=f43fc5580801251233n7eac65dej363e2406d8af07c5@mail.gmail.com \
    --to=blauwirbel@gmail.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).