s390x/tcg: Fix m5 vs. m4 field for VECTOR MULTIPLY SUM LOGICAL
commitaf4ba0ec8f017c402c239f2888ef62f63770ba8b
authorDavid Hildenbrand <david@redhat.com>
Mon, 5 Jul 2021 09:03:41 +0000 (5 11:03 +0200)
committerCornelia Huck <cohuck@redhat.com>
Wed, 7 Jul 2021 11:57:25 +0000 (7 13:57 +0200)
tree2d38c1793325e7223aaa25adccf44430f46e4050
parent28761057043aa234b33a3301b39c8707984bb0a0
s390x/tcg: Fix m5 vs. m4 field for VECTOR MULTIPLY SUM LOGICAL

The element size is located in m5, not in m4. As there is no m4, qemu
currently crashes with an assertion, trying to lookup that field.

Reproduced and tested via GO, which ends up using VMSL once the
Vector enhancements facility is around for verifying certificates with
elliptic curves.

Reported-by: Jonathan Albrecht <jonathan.albrecht@linux.vnet.ibm.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/449
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Fixes: 8c18fa5b3eba ("s390x/tcg: Implement VECTOR MULTIPLY SUM LOGICAL")
Message-Id: <20210705090341.58289-1-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/translate_vx.c.inc