Browse Source
zimm5 for unsigned and zero-extended simm5 for signed and signed-extended It is unsigned arithmetics Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>pull/396/head
4 changed files with 4 additions and 4 deletions
@ -1,5 +1,5 @@ |
|||
// vsrl.vi vd, vs2, zimm5
|
|||
VI_VI_ULOOP |
|||
({ |
|||
vd = vs2 >> (simm5 & (sew - 1) & 0x1f); |
|||
vd = vs2 >> (zimm5 & (sew - 1) & 0x1f); |
|||
}) |
|||
|
|||
Loading…
Reference in new issue