diff options
author | Song Gao <gaosong@loongson.cn> | 2023-05-04 20:27:42 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2023-05-06 11:19:46 +0800 |
commit | 4cc4c0f78b5798836714dffd75486e71237132fa (patch) | |
tree | 01f8d554d0c5d4320902f7a7df5e345e76df46a6 /target/loongarch/disas.c | |
parent | d3aec65bc14594331c062d98f38448186b0ae693 (diff) | |
download | qemu-4cc4c0f78b5798836714dffd75486e71237132fa.zip qemu-4cc4c0f78b5798836714dffd75486e71237132fa.tar.gz qemu-4cc4c0f78b5798836714dffd75486e71237132fa.tar.bz2 |
target/loongarch: Implement vdiv/vmod
This patch includes:
- VDIV.{B/H/W/D}[U];
- VMOD.{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-17-gaosong@loongson.cn>
Diffstat (limited to 'target/loongarch/disas.c')
-rw-r--r-- | target/loongarch/disas.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/loongarch/disas.c b/target/loongarch/disas.c index 980e6e6..6e4f676 100644 --- a/target/loongarch/disas.c +++ b/target/loongarch/disas.c @@ -1044,3 +1044,20 @@ INSN_LSX(vmaddwod_h_bu_b, vvv) INSN_LSX(vmaddwod_w_hu_h, vvv) INSN_LSX(vmaddwod_d_wu_w, vvv) INSN_LSX(vmaddwod_q_du_d, vvv) + +INSN_LSX(vdiv_b, vvv) +INSN_LSX(vdiv_h, vvv) +INSN_LSX(vdiv_w, vvv) +INSN_LSX(vdiv_d, vvv) +INSN_LSX(vdiv_bu, vvv) +INSN_LSX(vdiv_hu, vvv) +INSN_LSX(vdiv_wu, vvv) +INSN_LSX(vdiv_du, vvv) +INSN_LSX(vmod_b, vvv) +INSN_LSX(vmod_h, vvv) +INSN_LSX(vmod_w, vvv) +INSN_LSX(vmod_d, vvv) +INSN_LSX(vmod_bu, vvv) +INSN_LSX(vmod_hu, vvv) +INSN_LSX(vmod_wu, vvv) +INSN_LSX(vmod_du, vvv) |