qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 0/2] softfloat: fix 'int32 is 32 bits' assumption


From: Peter Maydell
Subject: [Qemu-devel] [PATCH v2 0/2] softfloat: fix 'int32 is 32 bits' assumptions
Date: Thu, 5 Apr 2012 19:12:33 +0100

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 via email to

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