summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorXiangyu Hu2015-02-05 14:37:22 +0100
committerPeter Maydell2015-02-05 14:37:22 +0100
commitdabf005808f0830313f313c76a492294ef3bce6a (patch)
tree639ae9ac42542b3983ca1b5e4a78f1598f82eba1 /include/exec
parenttarget-arm: Add checks that cpreg raw accesses are handled (diff)
downloadqemu-dabf005808f0830313f313c76a492294ef3bce6a.tar.gz
qemu-dabf005808f0830313f313c76a492294ef3bce6a.tar.xz
qemu-dabf005808f0830313f313c76a492294ef3bce6a.zip
Fix FMULX not squashing denormalized inputs when FZ is set.
While FMULX returns a 2.0f float when two operators are infinity and zero, those operators should be unpacked from raw inputs first. Inconsistent cases would occur when operators are denormalized floats in flush-to-zero mode. A wrong codepath will be entered and 2.0f will not be returned without this patch. Fix by checking whether inputs need to be flushed before running into different codepaths. Signed-off-by: Xiangyu Hu <libhu.so@gmail.com> Message-id: 1422459650-12490-1-git-send-email-libhu.so@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions