qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] softfloat: fix 'int32 is 32 bits' assumptions
@ 2012-04-05 18:12 Peter Maydell
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Maydell @ 2012-04-05 18:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: Andreas Färber, patches

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-05 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-05 18:12 [Qemu-devel] [PATCH v2 0/2] softfloat: fix 'int32 is 32 bits' assumptions Peter Maydell
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

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