commit | 760e141613f5f7c09f5c141658f1e7c23b4a5c33 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Thu Apr 05 19:12:35 2012 +0100 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Apr 07 11:15:55 2012 +0000 |
tree | 3ec861b3bf0440978d8ba2ee72d9fc9ed5359f20 | |
parent | b3a6a2e0417c78ec5491347eb85a7d125a5fefdc [diff] |
softfloat: roundAndPackInt{32, 64}: Don't assume int32 is 32 bits Fix code in roundAndPackInt32 that assumed that int32 was only 32 bits, by simply using int32_t instead. Fix the parallel bug in roundAndPackInt64 as well, although that one is only theoretical since it's unlikely that int64 will ever be more than 64 bits. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>