mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/loongarch: Implement xvshuf xvperm{i} xvshuf4i
This patch includes: - XVSHUF.{B/H/W/D}; - XVPERM.W; - XVSHUF4i.{B/H/W/D}; - XVPERMI.{W/D/Q}; - XVEXTRINS.{B/H/W/D}. Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230914022645.1151356-55-gaosong@loongson.cn>
This commit is contained in:
parent
ad2921482c
commit
513e88a24d
5 changed files with 175 additions and 46 deletions
|
@ -2039,3 +2039,24 @@ xvilvh_b 0111 01010001 11000 ..... ..... ..... @vvv
|
|||
xvilvh_h 0111 01010001 11001 ..... ..... ..... @vvv
|
||||
xvilvh_w 0111 01010001 11010 ..... ..... ..... @vvv
|
||||
xvilvh_d 0111 01010001 11011 ..... ..... ..... @vvv
|
||||
|
||||
xvshuf_b 0000 11010110 ..... ..... ..... ..... @vvvv
|
||||
xvshuf_h 0111 01010111 10101 ..... ..... ..... @vvv
|
||||
xvshuf_w 0111 01010111 10110 ..... ..... ..... @vvv
|
||||
xvshuf_d 0111 01010111 10111 ..... ..... ..... @vvv
|
||||
|
||||
xvperm_w 0111 01010111 11010 ..... ..... ..... @vvv
|
||||
|
||||
xvshuf4i_b 0111 01111001 00 ........ ..... ..... @vv_ui8
|
||||
xvshuf4i_h 0111 01111001 01 ........ ..... ..... @vv_ui8
|
||||
xvshuf4i_w 0111 01111001 10 ........ ..... ..... @vv_ui8
|
||||
xvshuf4i_d 0111 01111001 11 ........ ..... ..... @vv_ui8
|
||||
|
||||
xvpermi_w 0111 01111110 01 ........ ..... ..... @vv_ui8
|
||||
xvpermi_d 0111 01111110 10 ........ ..... ..... @vv_ui8
|
||||
xvpermi_q 0111 01111110 11 ........ ..... ..... @vv_ui8
|
||||
|
||||
xvextrins_d 0111 01111000 00 ........ ..... ..... @vv_ui8
|
||||
xvextrins_w 0111 01111000 01 ........ ..... ..... @vv_ui8
|
||||
xvextrins_h 0111 01111000 10 ........ ..... ..... @vv_ui8
|
||||
xvextrins_b 0111 01111000 11 ........ ..... ..... @vv_ui8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue