aboutsummaryrefslogtreecommitdiff
path: root/target/loongarch/disas.c
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2023-05-04 20:27:44 +0800
committerSong Gao <gaosong@loongson.cn>2023-05-06 11:19:46 +0800
commit3734ad9370db62c178faea9a714b69268b39d3d0 (patch)
tree8c38371fd0afa5b4637baef5d94d3d997e748548 /target/loongarch/disas.c
parentcbe44190cce12d62d5867d31a7348fee684c9ed1 (diff)
downloadqemu-3734ad9370db62c178faea9a714b69268b39d3d0.zip
qemu-3734ad9370db62c178faea9a714b69268b39d3d0.tar.gz
qemu-3734ad9370db62c178faea9a714b69268b39d3d0.tar.bz2
target/loongarch: Implement vexth
This patch includes: - VEXTH.{H.B/W.H/D.W/Q.D}; - VEXTH.{HU.BU/WU.HU/DU.WU/QU.DU}. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20230504122810.4094787-19-gaosong@loongson.cn>
Diffstat (limited to 'target/loongarch/disas.c')
-rw-r--r--target/loongarch/disas.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/loongarch/disas.c b/target/loongarch/disas.c
index b04aefe..412c1ce 100644
--- a/target/loongarch/disas.c
+++ b/target/loongarch/disas.c
@@ -1070,3 +1070,12 @@ INSN_LSX(vsat_bu, vv_i)
INSN_LSX(vsat_hu, vv_i)
INSN_LSX(vsat_wu, vv_i)
INSN_LSX(vsat_du, vv_i)
+
+INSN_LSX(vexth_h_b, vv)
+INSN_LSX(vexth_w_h, vv)
+INSN_LSX(vexth_d_w, vv)
+INSN_LSX(vexth_q_d, vv)
+INSN_LSX(vexth_hu_bu, vv)
+INSN_LSX(vexth_wu_hu, vv)
+INSN_LSX(vexth_du_wu, vv)
+INSN_LSX(vexth_qu_du, vv)