diff options
author | Richard Henderson | 2020-04-03 21:11:45 +0200 |
---|---|---|
committer | Alex Bennée | 2020-04-07 17:19:49 +0200 |
commit | 2f311075b7a74124098effc72290767b02869561 (patch) | |
tree | 1f4030db3d55cb7c3dffe2e034b3d5fb4060f920 /linux-user/syscall.c | |
parent | gdbstub: fix compiler complaining (diff) | |
download | qemu-2f311075b7a74124098effc72290767b02869561.tar.gz qemu-2f311075b7a74124098effc72290767b02869561.tar.xz qemu-2f311075b7a74124098effc72290767b02869561.zip |
softfloat: Fix BAD_SHIFT from normalizeFloatx80Subnormal
All other calls to normalize*Subnormal detect zero input before
the call -- this is the only outlier. This case can happen with
+0.0 + +0.0 = +0.0 or -0.0 + -0.0 = -0.0, so return a zero of
the correct sign.
Reported-by: Coverity (CID 1421991)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200327232042.10008-1-richard.henderson@linaro.org>
Message-Id: <20200403191150.863-8-alex.bennee@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions