OSDN Git Service

target/mips: Convert MSA COPY_U opcode to decodetree
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 19 Oct 2021 15:58:41 +0000 (17:58 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Nov 2021 13:32:32 +0000 (14:32 +0100)
commit2f2745c81a3c196fc149fcf243b11cae13fd126b
tree80b51cedc1d4833a66b8d094ed20b9ca0c427758
parent0a510c934c36f6314508ad4e7b5fd6ca8eb02c06
target/mips: Convert MSA COPY_U opcode to decodetree

Convert the COPY_U opcode (Element Copy to GPR Unsigned) to
decodetree.

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

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