diff options
author | Ilya Leoshkevich | 2022-07-13 20:26:10 +0200 |
---|---|---|
committer | Thomas Huth | 2022-07-19 12:49:56 +0200 |
commit | 13c59eb09bd6d1fbc13f08b708226421f14a232b (patch) | |
tree | 71a5abf92ebd5e593a0f79c5e157091f33e35c4c /hw/net/opencores_eth.c | |
parent | Merge tag 'pull-ppc-20220718' of https://gitlab.com/danielhb/qemu into staging (diff) | |
download | qemu-13c59eb09bd6d1fbc13f08b708226421f14a232b.tar.gz qemu-13c59eb09bd6d1fbc13f08b708226421f14a232b.tar.xz qemu-13c59eb09bd6d1fbc13f08b708226421f14a232b.zip |
target/s390x: fix handling of zeroes in vfmin/vfmax
vfmin_res() / vfmax_res() are trying to check whether a and b are both
zeroes, but in reality they check that they are the same kind of zero.
This causes incorrect results when comparing positive and negative
zeroes.
Fixes: da4807527f3b ("s390x/tcg: Implement VECTOR FP (MAXIMUM|MINIMUM)")
Co-developed-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20220713182612.3780050-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/net/opencores_eth.c')
0 files changed, 0 insertions, 0 deletions