tcg: Add TCG_OPF_NOT_PRESENT to opcodes without inputs or outputs
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 3 Jan 2025 19:08:44 +0000 (11:08 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Jan 2025 04:57:16 +0000 (20:57 -0800)
commit07ffd5b219681d9f6eb6bef9f66152bb88b23106
tree12a5b0a7ead2dfdfdcf937ba62f46bc1d27eec2b
parentb277cdd20baf6d8579aa5a874f713f9e19833c9f
tcg: Add TCG_OPF_NOT_PRESENT to opcodes without inputs or outputs

The br, mb, goto_tb and exit_tb opcodes do not have
register operands, only constants, flags, or labels.
Remove the special case in opcode_args_ct by including
TCG_OPF_NOT_PRESENT in the flags for these opcodes.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg-opc.h
tcg/tcg.c