We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8b8821 commit 37db712Copy full SHA for 37db712
riscv/insns/vsra_vi.h
@@ -1,5 +1,5 @@
1
// vsra.vi vd, vs2, zimm5
2
-VI_VI_ULOOP
+VI_VI_LOOP
3
({
4
- vd = vs2 >> (zimm5 & (sew - 1));
+ vd = vs2 >> (insn.v_zimm5() & (sew - 1));
5
})
riscv/insns/vssra_vi.h
@@ -1,8 +1,8 @@
// vssra.vi vd, vs2, zimm5
VRM xrm = P.VU.get_vround_mode();
- int sh = zimm5 & (sew - 1);
+ int sh = insn.v_zimm5() & (sew - 1);
6
int128_t val = vs2;
7
8
INT_ROUNDING(val, xrm, sh);
0 commit comments