diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2022-07-13 20:26:10 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-07-19 12:49:56 +0200 |
commit | 13c59eb09bd6d1fbc13f08b708226421f14a232b (patch) | |
tree | 71a5abf92ebd5e593a0f79c5e157091f33e35c4c /README.rst | |
parent | b8bb9bbf4695b89bbdca702a054db0a7a2c8ff2b (diff) |
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 'README.rst')
0 files changed, 0 insertions, 0 deletions