s390x/tcg: Fix VERIM with 32/64 bit elements
authorDavid Hildenbrand <david@redhat.com>
Wed, 14 Aug 2019 15:12:42 +0000 (17:12 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 22 Aug 2019 12:53:49 +0000 (14:53 +0200)
commit25bcb45d1b81d22634daa2b1a2d8bee746ac129b
tree4a8a19c71f9f79080b533988c1da91135f4ea6ba
parentf3b8f18ebf344ab359e8f79f6ed777e740dae77c
s390x/tcg: Fix VERIM with 32/64 bit elements

Wrong order of operands. The constant always comes last. Makes QEMU crash
reliably on specific git fetch invocations.

Reported-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190814151242.27199-1-david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Fixes: 5c4b0ab460ef ("s390x/tcg: Implement VECTOR ELEMENT ROTATE AND INSERT UNDER MASK")
Cc: qemu-stable@nongnu.org
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/translate_vx.inc.c