Does VNSRA.WV round?
No. It is a narrowing right shift; use VNCLIP/VNCLIPU when fixed-point rounding and saturation are required.
arithmetic narrowing right shift from 2*SEW source elements to SEW results.
VNSRA.WV performs a arithmetic right shift on 2*SEW-wide source elements and writes SEW-width destination elements. The shift amount comes from a vector register.
VNSRA.WV shrinks wide integer results back to SEW width using a arithmetic right shift.
Understand this scenario with real code like «vnsra.wv v8, v12, v4, v0.t».
Understand this scenario with real code like «vnsra.wv v8, v12, v4, v0.t».
No. It is a narrowing right shift; use VNCLIP/VNCLIPU when fixed-point rounding and saturation are required.