projects
/
openpower-isa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add first chacha20 round test
[openpower-isa.git]
/
openpower
/
isa
/
fixedshift.mdwn
diff --git
a/openpower/isa/fixedshift.mdwn
b/openpower/isa/fixedshift.mdwn
index fd88c1a30c78cd8e302f5c6be66c25bd1f220d06..9d90da3cc983fd0ab7c3309ad351a20ac1b1f841 100644
(file)
--- a/
openpower/isa/fixedshift.mdwn
+++ b/
openpower/isa/fixedshift.mdwn
@@
-38,7
+38,7
@@
M-Form
Pseudo-code:
n <- (RB)[XLEN-5:XLEN-1]
- r <- ROTL32((RS)[
32:63
], n)
+ r <- ROTL32((RS)[
XLEN-32:XLEN-1
], n)
m <- MASK32(MB, ME)
RA <- r & m