diff options
Diffstat (limited to 'riscv/insns/vwsll_vv.h')
-rw-r--r-- | riscv/insns/vwsll_vv.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/riscv/insns/vwsll_vv.h b/riscv/insns/vwsll_vv.h new file mode 100644 index 0000000..5a64c6c --- /dev/null +++ b/riscv/insns/vwsll_vv.h @@ -0,0 +1,10 @@ +// vwsll.vv vd, vs2, zimm5, vm + +#include "zvk_ext_macros.h" + +require_zvbb; + +VI_ZVK_VV_WIDENING_ULOOP({ + const reg_t shift = (vs1 & ((2 * sew) - 1)); + vd_w = vs2_w << shift; +}); |