On 13/07/2022 20.26, Ilya Leoshkevich wrote:
> Hi,
>
> Uli has found an issue with finding maximum of different kinds of 0s; I
> wrote a test and found another one with finding maximum of different
> kinds of NaNs.
>
> Patches 1 and 2 fix those issues, patch 3 adds a vfmin/vfmax test.
>
> Best regards,
> Ilya
>
> v1: https://lists.gnu.org/archive/html/qemu-devel/2022-07/msg01915.html
> v1 -> v2: Drop mmap() in the test (Richard).
>
> Ilya Leoshkevich (3):
> target/s390x: fix handling of zeroes in vfmin/vfmax
> target/s390x: fix NaN propagation rules
> tests/tcg/s390x: test signed vfmin/vfmax
>
> fpu/softfloat-specialize.c.inc | 3 +-
> target/s390x/tcg/vec_fpu_helper.c | 4 +-
> tests/tcg/s390x/Makefile.target | 7 +
> tests/tcg/s390x/vfminmax.c | 411 ++++++++++++++++++++++++++++++
> 4 files changed, 422 insertions(+), 3 deletions(-)
> create mode 100644 tests/tcg/s390x/vfminmax.c
>
Thanks, queued to my s390x-next branch now:
https://gitlab.com/thuth/qemu/-/commits/s390x-next/
Thomas