decodetree: Remove "insn" argument from trans_* expanders
commit3a7be5546506be62d5c6c4b804119cedf9e367d6
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 23 Oct 2018 10:05:27 +0000 (23 11:05 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 31 Oct 2018 16:48:54 +0000 (31 16:48 +0000)
treefad119a158f4dd7291936d1f169a59feb886827d
parentabd04f9290094f4eb7f3c07335766bbac3de22bb
decodetree: Remove "insn" argument from trans_* expanders

This allows trans_* expanders to be shared between decoders
for 32 and 16-bit insns, by not tying the expander to the
size of the insn that produced it.

This change requires adjusting the two existing users to match.

Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
scripts/decodetree.py
target/arm/translate-sve.c
target/openrisc/disas.c
target/openrisc/translate.c