s390x/tcg: Fix ALGSI
commitad11129b305b71ae835512554c59b83ca092251c
authorDavid Hildenbrand <david@redhat.com>
Mon, 11 Jan 2021 16:38:41 +0000 (11 17:38 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 21 Jan 2021 10:19:45 +0000 (21 11:19 +0100)
treeab3525a3105f0fb16c8627f22780b1cd11ae7067
parent954b83f13236d21b4116b93a726ea36b5dc2d303
s390x/tcg: Fix ALGSI

Looks like something went wrong whiel touching that line. Instead of "r1"
we need a new temporary. Also, we have to pass MO_TEQ, to indicate that
we are working with 64-bit values. Let's revert these changes.

Fixes: ff26d287bddc ("target/s390x: Improve cc computation for ADD LOGICAL")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
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-2-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/insn-data.def