target/alpha: Simplify gen_bcond_internal()
commit39482c2edcc9864cf694b8ea525b49693443f90a
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 3 May 2024 07:20:10 +0000 (3 09:20 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 4 May 2024 15:02:57 +0000 (4 08:02 -0700)
tree19c68a48a0ba7f212752df032a5f899a4a448cd6
parent9804ab26d0f25cb9c97e34f96bb0fb2be0a9f677
target/alpha: Simplify gen_bcond_internal()

Richard Henderson explained on IRC:

  bcond_internal() used to insist that both branch
  destination and branch fallthrough are use_goto_tb;
  if not, we'd use movcond to compute an indirect jump.
  But it's perfectly fine for e.g. the branch fallthrough
  to use_goto_tb, and the branch destination to use
  an indirect branch.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240424234436.995410-4-richard.henderson@linaro.org>
[PMD: Split bigger patch, part 4/5]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240503072014.24751-7-philmd@linaro.org>
target/alpha/translate.c