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.
2 parents 4703ad9 + 54a5e38 commit adacda4Copy full SHA for adacda4
riscv/insns/vnclip_wx.h
@@ -1,9 +1,9 @@
1
// vnclip: vd[i] = clip(round(vs2[i] + rnd) >> rs1[i])
2
-VRM xrm = P.VU.get_vround_mode();
3
-int64_t int_max = INT64_MAX >> (64 - P.VU.vsew);
4
-int64_t int_min = INT64_MIN >> (64 - P.VU.vsew);
5
VI_VX_LOOP_NARROW
6
({
+ VRM xrm = P.VU.get_vround_mode();
+ int64_t int_max = INT64_MAX >> (64 - P.VU.vsew);
+ int64_t int_min = INT64_MIN >> (64 - P.VU.vsew);
7
int128_t result = vs2;
8
unsigned shift = rs1 & ((sew * 2) - 1);
9
0 commit comments