]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Fix assertion failure in VFMIN/VFMAX with type 13
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 24 Jul 2023 08:16:00 +0000 (10:16 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 31 Jul 2023 06:10:51 +0000 (09:10 +0300)
commitc8b714f0479810caa1c3bf42c37eb9d7f922b94f
tree4eebc9e177bb9e8f18c2f3112d93f44bc0ad3a74
parentc5498fdda0a5ff333f90ea6162ab39f2853bacf8
target/s390x: Fix assertion failure in VFMIN/VFMAX with type 13

Type 13 is reserved, so using it should result in specification
exception. Due to an off-by-1 error the code triggers an assertion at a
later point in time instead.

Cc: qemu-stable@nongnu.org
Fixes: da4807527f3b ("s390x/tcg: Implement VECTOR FP (MAXIMUM|MINIMUM)")
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230724082032.66864-8-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit ff537b0370ab5918052b8d8a798e803c47272406)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/s390x/tcg/translate_vx.c.inc