aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vqdot_vv.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vqdot_vv.h')
-rw-r--r--riscv/insns/vqdot_vv.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/riscv/insns/vqdot_vv.h b/riscv/insns/vqdot_vv.h
new file mode 100644
index 0000000..47a95ce
--- /dev/null
+++ b/riscv/insns/vqdot_vv.h
@@ -0,0 +1,11 @@
+// vqdot.vv vd, vs2, vs1, vm
+#include "vqdot_common.h"
+
+require_extension(EXT_ZVQDOTQ);
+require(P.VU.vsew == e32);
+
+VI_VV_LOOP
+({
+ VQDOT(vs1, vs2, int8_t, int8_t);
+ vd = (vd + result) & 0xffffffff;
+})