s390x/tcg: Ignore register content if b1/b2 is zero when handling EXECUTE
commite312fa1d78a2387c2ca1f40b88b29d9fdca4dbfc
authorDavid Hildenbrand <david@redhat.com>
Mon, 11 Jan 2021 16:38:45 +0000 (11 17:38 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 21 Jan 2021 10:19:45 +0000 (21 11:19 +0100)
tree07cf1555025ffc03cb77fb771e60b0e17027ce7a
parentd944293d9ab0b8338fbc681e6e5d8ac7829a702f
s390x/tcg: Ignore register content if b1/b2 is zero when handling EXECUTE

In our EXECUTE fast path, we have to ignore the content of r0, if
specified by b1 or b2.

Fixes: d376f123c7de ("target/s390x: Re-implement a few EXECUTE target insns directly")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20210111163845.18148-6-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/mem_helper.c