qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Andreas Färber" <afaerber@suse.de>, patches@linaro.org
Subject: [Qemu-devel] [PATCH v2 0/2] softfloat: fix 'int32 is 32 bits' assumptions
Date: Thu,  5 Apr 2012 19:12:33 +0100	[thread overview]
Message-ID: <1333649555-14424-1-git-send-email-peter.maydell@linaro.org> (raw)

This is a resend of some patches I sent out back in January when we
were kicking the int32-vs-int32_t issue around.

These patches fix some assumptions that are made by various bits
of code that the softfloat 'int32' and 'uint32' types are exactly
32 bits rather than at least 32 bits. They're worth applying IMHO
even if we don't get round to changing types to use int_fast*_t,
because they're fixing bogus assumptions.


v1->v2 changes:
 dropped the target-arm/helper.c patch as it has been applied already


Peter Maydell (2):
  softfloat: float*_to_int32_round_to_zero: don't assume int32 is 32 bits
  softfloat: roundAndPackInt{32,64}: Don't assume int32 is 32 bits

 fpu/softfloat.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

             reply	other threads:[~2012-04-05 18:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05 18:12 Peter Maydell [this message]
2012-04-05 18:12 ` [Qemu-devel] [PATCH v2 1/2] softfloat: float*_to_int32_round_to_zero: don't assume int32 is 32 bits Peter Maydell
2012-04-05 18:12 ` [Qemu-devel] [PATCH v2 2/2] softfloat: roundAndPackInt{32, 64}: Don't " Peter Maydell

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=1333649555-14424-1-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=afaerber@suse.de \
    --cc=patches@linaro.org \
    --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).