aboutsummaryrefslogtreecommitdiff
path: root/target/loongarch/disas.c
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2023-05-04 20:27:55 +0800
committerSong Gao <gaosong@loongson.cn>2023-05-06 11:19:48 +0800
commit2e105e12a5003232ec334f96ab97d0562612adfd (patch)
tree3ee36aba6d67119fb789708e51cde0bc2c33bcbe /target/loongarch/disas.c
parent162cd32cfef93fba17ee1cbab688f9a6c6004d8e (diff)
downloadqemu-2e105e12a5003232ec334f96ab97d0562612adfd.zip
qemu-2e105e12a5003232ec334f96ab97d0562612adfd.tar.gz
qemu-2e105e12a5003232ec334f96ab97d0562612adfd.tar.bz2
target/loongarch: Implement vclo vclz
This patch includes: - VCLO.{B/H/W/D}; - VCLZ.{B/H/W/D}. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20230504122810.4094787-30-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 405e888..0c82a1d 100644
--- a/target/loongarch/disas.c
+++ b/target/loongarch/disas.c
@@ -1258,3 +1258,12 @@ INSN_LSX(vssrarni_bu_h, vv_i)
INSN_LSX(vssrarni_hu_w, vv_i)
INSN_LSX(vssrarni_wu_d, vv_i)
INSN_LSX(vssrarni_du_q, vv_i)
+
+INSN_LSX(vclo_b, vv)
+INSN_LSX(vclo_h, vv)
+INSN_LSX(vclo_w, vv)
+INSN_LSX(vclo_d, vv)
+INSN_LSX(vclz_b, vv)
+INSN_LSX(vclz_h, vv)
+INSN_LSX(vclz_w, vv)
+INSN_LSX(vclz_d, vv)