target/mips: Convert MSA I5 instruction format to decodetree
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 19 Oct 2021 06:27:58 +0000 (08:27 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Nov 2021 13:32:32 +0000 (14:32 +0100)
commitb8e74816ec8ee7efdce6aa290cd18c937b317133
tree42a9234d2223eac56dd9b39e2fddf1dc5c0c16fa
parent75094c334e4c2f6d4646274cd73006d8931a31de
target/mips: Convert MSA I5 instruction format to decodetree

Convert instructions with a 5-bit immediate value to decodetree.

Since the 'data format' field is a constant value, use
tcg_constant_i32() instead of a TCG temporary.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211028210843.2120802-10-f4bug@amsat.org>
target/mips/tcg/msa.decode
target/mips/tcg/msa_translate.c