tcg/aarch64: Fix tcg_out_cmp for test comparisons
commit1d24c36b72ed0b98f3b5e6382c6f1deef6b1ca0d
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 9 Mar 2024 17:35:12 +0000 (9 17:35 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 12 Mar 2024 14:08:40 +0000 (12 04:08 -1000)
tree982c0556987542e536883cda4ede079c5f058328
parent52e566b34f5499cc5fb41893570693f8d037a0e3
tcg/aarch64: Fix tcg_out_cmp for test comparisons

Pass the type to tcg_out_logicali; remove the assert, duplicated
at the start of tcg_out_logicali.

Fixes: 339adf2f38e ("tcg/aarch64: Support TCG_COND_TST{EQ,NE}")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/aarch64/tcg-target.c.inc