target/s390x: Simplify help_branch
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 2 May 2024 05:44:10 +0000 (22:44 -0700)
committerThomas Huth <thuth@redhat.com>
Wed, 29 May 2024 10:41:15 +0000 (12:41 +0200)
commite64054552385aced493969af6f8341d944e150a8
tree9c340eb8d3c1461c444aa4488f0b99142145d94b
parent9bbbcf5ddb5ae6e006ca394a9ec01492ac6d8122
target/s390x: Simplify help_branch

Always use a tcg branch, instead of movcond.  The movcond
was not a bad idea before PER was added, but since then
we have either 2 or 3 actions to perform on each leg of
the branch, and multiple movcond is inefficient.

Reorder the taken branch to be fallthrough of the tcg branch.

Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240502054417.234340-8-richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/tcg/translate.c