aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vwsll_vv.h
blob: 5a64c6c06a4baf04bf88530b0a564b63f9180c60 (plain)
1
2
3
4
5
6
7
8
9
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;
});