aboutsummaryrefslogtreecommitdiff
path: root/target/loongarch/disas.c
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2023-05-04 20:27:37 +0800
committerSong Gao <gaosong@loongson.cn>2023-05-06 11:19:45 +0800
commit4972565967ee24574987b8e9817f2e433470c695 (patch)
tree158892c5fe2d0033ae5775195970483b06b4e84b /target/loongarch/disas.c
parent39e9b0a741e7d0e5de791c679443466482a96903 (diff)
downloadqemu-4972565967ee24574987b8e9817f2e433470c695.zip
qemu-4972565967ee24574987b8e9817f2e433470c695.tar.gz
qemu-4972565967ee24574987b8e9817f2e433470c695.tar.bz2
target/loongarch: Implement vabsd
This patch includes: - VABSD.{B/H/W/D}[U]. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20230504122810.4094787-12-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 e7592e7..e98ea37 100644
--- a/target/loongarch/disas.c
+++ b/target/loongarch/disas.c
@@ -925,3 +925,12 @@ INSN_LSX(vavgr_bu, vvv)
INSN_LSX(vavgr_hu, vvv)
INSN_LSX(vavgr_wu, vvv)
INSN_LSX(vavgr_du, vvv)
+
+INSN_LSX(vabsd_b, vvv)
+INSN_LSX(vabsd_h, vvv)
+INSN_LSX(vabsd_w, vvv)
+INSN_LSX(vabsd_d, vvv)
+INSN_LSX(vabsd_bu, vvv)
+INSN_LSX(vabsd_hu, vvv)
+INSN_LSX(vabsd_wu, vvv)
+INSN_LSX(vabsd_du, vvv)