target/mips: Convert MSA SHF opcode to decodetree
commita9e17958330a971c379ed99f349158b269b4e4c2
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 19 Oct 2021 07:54:17 +0000 (19 09:54 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Nov 2021 13:32:32 +0000 (2 14:32 +0100)
treecd3b380e801842ee343d6d6d806c5d626d86279b
parent4701d23aef1d096da20b46ce817e30f81bd01b4b
target/mips: Convert MSA SHF opcode to decodetree

Convert the SHF opcode (Immediate Set Shuffle Elements) 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-12-f4bug@amsat.org>
target/mips/tcg/msa.decode
target/mips/tcg/msa_translate.c