target/xtensa: use tcg_constant_* for remaining opcodes
commit6ade0ce972042a8e6d6a62373644cd1bd0f5ba4f
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 21 Apr 2022 20:46:20 +0000 (21 13:46 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 6 May 2022 22:27:40 +0000 (6 15:27 -0700)
tree2022c8445d0235422f8b6335a094d9ef64a8ccb2
parent867e354cbda0cac2d20a478ef39d01aa3bf67118
target/xtensa: use tcg_constant_* for remaining opcodes

- gen_jumpi passes target PC to the helper;
- gen_callw_slot uses callinc (1..3);
- gen_brcondi passes immediate field (less than 32 different possible
  values) to the helper;
- disas_xtensa_insn passes PC to the helpers;
- translate_entry passes PC, stack register number (0..15) and stack
  frame size to the helper;
- gen_check_exclusive passes PC and boolean flag to the helper;
- test_exceptions_retw passes PC to the helper;
- gen_check_atomctl passes PC to the helper;
- translate_ssai passes immediate shift amount (0..31) to the helper;
- gen_waiti passes next PC and an immediate (0..15) to the helper;

use tcg_constant_* for the constants listed above. Fold gen_waiti body
into the translate_waiti as it's the only user.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/translate.c