Skip to content

Commit 23d291d

Browse files
authored
Change VROR_VI immediate field from imm to uimm (#1904)
Signed-off-by: Nadime Barhoumi <[email protected]>
1 parent 6e82042 commit 23d291d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vector-crypto.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3107,10 +3107,10 @@ function clause execute (VROR_VX(vs2, rs1, vd)) = {
31073107
RETIRE_SUCCESS
31083108
}
31093109

3110-
function clause execute (VROR_VI(vs2, imm[5:0], vd)) = {
3110+
function clause execute (VROR_VI(vs2, uimm[5:0], vd)) = {
31113111
foreach (i from vstart to vl - 1) {
31123112
set_velem(vd, EEW=SEW, i,
3113-
get_velem(vs2, i) >>> (imm[5:0] & (SEW-1))
3113+
get_velem(vs2, i) >>> (uimm[5:0] & (SEW-1))
31143114
)
31153115
}
31163116
RETIRE_SUCCESS

0 commit comments

Comments
 (0)