OSDN Git Service

target/mips: Convert MSA LDI opcode to decodetree
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 19 Oct 2021 06:22:31 +0000 (08:22 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Nov 2021 13:32:32 +0000 (14:32 +0100)
commit75094c334e4c2f6d4646274cd73006d8931a31de
tree63a5a5932fd5c81207e4bb24d4d729d5076b1246
parentd61566cf78d97952ecf6a00a64b168c61fadd4ce
target/mips: Convert MSA LDI opcode to decodetree

Convert the LDI opcode (Immediate Load) to decodetree. Since it
overlaps with the generic MSA handler, use a decodetree overlap
group.

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

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