mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
4701d23aef
commit
a9e1795833
2 changed files with 22 additions and 17 deletions
|
@ -26,6 +26,7 @@
|
|||
@bz ...... ... df:2 wt:5 sa:16 &msa_bz
|
||||
@u5 ...... ... df:2 sa:5 ws:5 wd:5 ...... &msa_i
|
||||
@s5 ...... ... df:2 sa:s5 ws:5 wd:5 ...... &msa_i
|
||||
@i8_df ...... df:2 sa:s8 ws:5 wd:5 ...... &msa_i
|
||||
@ldi ...... ... df:2 sa:s10 wd:5 ...... &msa_ldi
|
||||
@bit ...... ... ....... ws:5 wd:5 ...... &msa_bit df=%bit_df m=%bit_m
|
||||
|
||||
|
@ -38,6 +39,8 @@ BZ 010001 110 .. ..... ................ @bz
|
|||
BNZ 010001 111 .. ..... ................ @bz
|
||||
|
||||
{
|
||||
SHF 011110 .. ........ ..... ..... 000010 @i8_df
|
||||
|
||||
ADDVI 011110 000 .. ..... ..... ..... 000110 @u5
|
||||
SUBVI 011110 001 .. ..... ..... ..... 000110 @u5
|
||||
MAXI_S 011110 010 .. ..... ..... ..... 000110 @s5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue