target-alpha: Fix float32_to_s vs zero exponent.
authorRichard Henderson <rth@twiddle.net>
Mon, 14 Dec 2009 01:50:46 +0000 (17:50 -0800)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 17 Dec 2009 17:12:04 +0000 (18:12 +0100)
commit0e6cc609b10025f70b4ead0c7aabe6a4bf55680a
tree372025cda3263d1b33695028279d76af82bbdde1
parent81ab83fcd3fa8bfd6d255680533364551e7584ed
target-alpha: Fix float32_to_s vs zero exponent.

There was a bug in float32_to_s that incorrectly mapped a zero exponent
to 0x38.  This meant 0.0f != 0.  At the same time, fix a generic type
punning bug in helper_memory_to_s and helper_s_to_memory.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-alpha/op_helper.c