fpu/softfloat: int_to_float ensure r fully initialised
commita5a5f5e2e437db6c19164b734f838a7bf9e0c5ec
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 15 May 2018 13:58:42 +0000 (15 14:58 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 May 2018 13:58:42 +0000 (15 14:58 +0100)
tree91b766c906f4b22f666368284346d1faed4cbde2
parentad1b4ec39caa5b3f17cbd8160283a03a3dcfe2ae
fpu/softfloat: int_to_float ensure r fully initialised

Reported by Coverity (CID1390635). We ensure this for uint_to_float
later on so we might as well mirror that.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
fpu/softfloat.c