From 655aedc0ebd2326d69d389bc714c2d622bf2cb08 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Thu, 6 Jun 2019 03:24:27 -0700 Subject: rvv: add integer/fixed-point/mask/reduction/permutation instructions based on v-spec 0.7.1, support sections: 12/13/15.1 ~ 15.2/16/17 element size: 8/16/32/64 support ediv: 1 Signed-off-by: Bruce Hoult Signed-off-by: Chih-Min Chao Signed-off-by: Dave Wen --- riscv/insns/vwmul_vx.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 riscv/insns/vwmul_vx.h (limited to 'riscv/insns/vwmul_vx.h') diff --git a/riscv/insns/vwmul_vx.h b/riscv/insns/vwmul_vx.h new file mode 100644 index 0000000..bc1422d --- /dev/null +++ b/riscv/insns/vwmul_vx.h @@ -0,0 +1,6 @@ +// vwmul.vx vd, vs2, rs1 +VI_CHECK_DSS(false); +VI_VX_LOOP_WIDEN +({ + VI_WIDE_OP_AND_ASSIGN(vs2, rs1, 0, *, +, int); +}) -- cgit v1.1