From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH][PPC] Use float32/64 instead of float/double
Date: Wed, 23 Jan 2008 16:20:39 +0100 [thread overview]
Message-ID: <47975B47.6020603@aurel32.net> (raw)
In-Reply-To: <20080102232646.GA30665@hall.aurel32.net>
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?
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
next prev parent reply other threads:[~2008-01-23 15:20 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 [this message]
2008-01-25 20:33 ` Blue Swirl
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=47975B47.6020603@aurel32.net \
--to=aurelien@aurel32.net \
--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.