You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The vector integer extension instructions zero- or sign-extend a source vector integer operand with EEW less than SEW to fill SEW-sized elements in the destination. The EEW of the source is 1/2, 1/4, or 1/8 of SEW, while EMUL of the source is (EEW/SEW)*LMUL. The destination has EEW equal to SEW and EMUL equal to LMUL.
vzext.vf2 vd, vs2, vm # Zero-extend SEW/2 source to SEW destination
vsext.vf2 vd, vs2, vm # Sign-extend SEW/2 source to SEW destination
vzext.vf4 vd, vs2, vm # Zero-extend SEW/4 source to SEW destination
vsext.vf4 vd, vs2, vm # Sign-extend SEW/4 source to SEW destination
vzext.vf8 vd, vs2, vm # Zero-extend SEW/8 source to SEW destination
vsext.vf8 vd, vs2, vm # Sign-extend SEW/8 source to SEW destination
Mavis currently does not provide any method that can be used to differentiate these instructions from one another. I need a method that can tell me if the instruction's suffix is 2, 4 or 8 so I can determine the EEW of the source.
The text was updated successfully, but these errors were encountered:
From the RISC-V vector spec:
Mavis currently does not provide any method that can be used to differentiate these instructions from one another. I need a method that can tell me if the instruction's suffix is 2, 4 or 8 so I can determine the EEW of the source.
The text was updated successfully, but these errors were encountered: