aboutsummaryrefslogtreecommitdiff
path: root/target/loongarch/disas.c
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2023-09-14 10:26:18 +0800
committerSong Gao <gaosong@loongson.cn>2023-09-20 11:43:13 +0800
commit790acb2a432ead067d6c1a0fc8430d29aa58e4ab (patch)
treef54136b830684d5f277b23d8fc7d19d40d6b41d6 /target/loongarch/disas.c
parentf0db0beb802749b23d923b28e434853f687fc179 (diff)
downloadqemu-790acb2a432ead067d6c1a0fc8430d29aa58e4ab.zip
qemu-790acb2a432ead067d6c1a0fc8430d29aa58e4ab.tar.gz
qemu-790acb2a432ead067d6c1a0fc8430d29aa58e4ab.tar.bz2
target/loongarch: Implement vext2xv
This patch includes: - VEXT2XV.{H/W/D}.B, VEXT2XV.{HU/WU/DU}.BU; - VEXT2XV.{W/D}.B, VEXT2XV.{WU/DU}.HU; - VEXT2XV.D.W, VEXT2XV.DU.WU. Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230914022645.1151356-31-gaosong@loongson.cn>
Diffstat (limited to 'target/loongarch/disas.c')
-rw-r--r--target/loongarch/disas.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/loongarch/disas.c b/target/loongarch/disas.c
index d4bea69..714b97e 100644
--- a/target/loongarch/disas.c
+++ b/target/loongarch/disas.c
@@ -1997,6 +1997,19 @@ INSN_LASX(xvexth_wu_hu, vv)
INSN_LASX(xvexth_du_wu, vv)
INSN_LASX(xvexth_qu_du, vv)
+INSN_LASX(vext2xv_h_b, vv)
+INSN_LASX(vext2xv_w_b, vv)
+INSN_LASX(vext2xv_d_b, vv)
+INSN_LASX(vext2xv_w_h, vv)
+INSN_LASX(vext2xv_d_h, vv)
+INSN_LASX(vext2xv_d_w, vv)
+INSN_LASX(vext2xv_hu_bu, vv)
+INSN_LASX(vext2xv_wu_bu, vv)
+INSN_LASX(vext2xv_du_bu, vv)
+INSN_LASX(vext2xv_wu_hu, vv)
+INSN_LASX(vext2xv_du_hu, vv)
+INSN_LASX(vext2xv_du_wu, vv)
+
INSN_LASX(xvreplgr2vr_b, vr)
INSN_LASX(xvreplgr2vr_h, vr)
INSN_LASX(xvreplgr2vr_w, vr)