mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
target/mips: Convert MSA I8 instruction format to decodetree
Convert instructions with an 8-bit immediate value and either implicit data format or data format df to decodetree. 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-13-f4bug@amsat.org>
This commit is contained in:
parent
a9e1795833
commit
7cc351ff9d
2 changed files with 27 additions and 56 deletions
|
@ -27,6 +27,7 @@
|
|||
@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
|
||||
@i8 ...... .. sa:s8 ws:5 wd:5 ...... &msa_i df=0
|
||||
@ldi ...... ... df:2 sa:s10 wd:5 ...... &msa_ldi
|
||||
@bit ...... ... ....... ws:5 wd:5 ...... &msa_bit df=%bit_df m=%bit_m
|
||||
|
||||
|
@ -39,6 +40,13 @@ BZ 010001 110 .. ..... ................ @bz
|
|||
BNZ 010001 111 .. ..... ................ @bz
|
||||
|
||||
{
|
||||
ANDI 011110 00 ........ ..... ..... 000000 @i8
|
||||
ORI 011110 01 ........ ..... ..... 000000 @i8
|
||||
NORI 011110 10 ........ ..... ..... 000000 @i8
|
||||
XORI 011110 11 ........ ..... ..... 000000 @i8
|
||||
BMNZI 011110 00 ........ ..... ..... 000001 @i8
|
||||
BMZI 011110 01 ........ ..... ..... 000001 @i8
|
||||
BSELI 011110 10 ........ ..... ..... 000001 @i8
|
||||
SHF 011110 .. ........ ..... ..... 000010 @i8_df
|
||||
|
||||
ADDVI 011110 000 .. ..... ..... ..... 000110 @u5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue