Is VSMUL.VX the same as VMUL followed by a shift?
No. VSMUL defines fixed-point rounding and saturation behavior, including vxsat on saturation.
Signed fixed-point fractional multiply with vxrm rounding and saturation.
VSMUL.VX computes signed SEW-width products, scales by SEW-1 bits with vxrm rounding, then saturates to an SEW-width result; saturation sets vxsat.
VSMUL.VX is for fixed-point fractional multiplication, not ordinary integer multiply-low truncation.
Understand this scenario with real code like «vsmul.vx v8, v12, x5, v0.t».
Understand this scenario with real code like «vsmul.vx v8, v12, x5, v0.t».
Understand this scenario with real code like «vsmul.vx v8, v12, x5, v0.t».
No. VSMUL defines fixed-point rounding and saturation behavior, including vxsat on saturation.