mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/mips: Convert MSA VEC instruction format to decodetree
Convert 3-register instructions with implicit data formats 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-18-f4bug@amsat.org>
This commit is contained in:
parent
adcff99a6b
commit
7acb5c78a7
2 changed files with 31 additions and 75 deletions
|
@ -27,6 +27,7 @@
|
|||
@ldst ...... sa:s10 ws:5 wd:5 .... df:2 &msa_i
|
||||
@bz_v ...... ... .. wt:5 sa:16 &msa_bz df=3
|
||||
@bz ...... ... df:2 wt:5 sa:16 &msa_bz
|
||||
@vec ...... ..... wt:5 ws:5 wd:5 ...... &msa_r df=0
|
||||
@2r ...... ........ df:2 ws:5 wd:5 ...... &msa_r wt=0
|
||||
@2rf ...... ......... . ws:5 wd:5 ...... &msa_r wt=0 df=%2r_df_w
|
||||
@u5 ...... ... df:2 sa:5 ws:5 wd:5 ...... &msa_i
|
||||
|
@ -83,6 +84,13 @@ BNZ 010001 111 .. ..... ................ @bz
|
|||
SRARI 011110 010 ....... ..... ..... 001010 @bit
|
||||
SRLRI 011110 011 ....... ..... ..... 001010 @bit
|
||||
|
||||
AND_V 011110 00000 ..... ..... ..... 011110 @vec
|
||||
OR_V 011110 00001 ..... ..... ..... 011110 @vec
|
||||
NOR_V 011110 00010 ..... ..... ..... 011110 @vec
|
||||
XOR_V 011110 00011 ..... ..... ..... 011110 @vec
|
||||
BMNZ_V 011110 00100 ..... ..... ..... 011110 @vec
|
||||
BMZ_V 011110 00101 ..... ..... ..... 011110 @vec
|
||||
BSEL_V 011110 00110 ..... ..... ..... 011110 @vec
|
||||
FILL 011110 11000000 .. ..... ..... 011110 @2r
|
||||
PCNT 011110 11000001 .. ..... ..... 011110 @2r
|
||||
NLOC 011110 11000010 .. ..... ..... 011110 @2r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue