aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vssrl_vv.h
blob: a8e5d164238c0e4a287b39b9b08827799e8d45a9 (plain)
1
2
3
4
5
6
7
8
9
10
// vssrl.vv vd, vs2, vs1
VRM xrm = P.VU.get_vround_mode();
VI_VV_ULOOP
({
  int sh = vs1 & (sew - 1);
  uint128_t val = vs2;

  INT_ROUNDING(val, xrm, sh);
  vd = val >> sh;
})