On 7/12/22 07:27, Ilya Leoshkevich wrote:
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.weig...@de.ibm.com>
Signed-off-by: Ilya Leoshkevich<i...@linux.ibm.com>
---
  target/s390x/tcg/vec_fpu_helper.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to