projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a88be70
)
off-by-one in srad, same as sld and srd: XLEN-6:XLEN-1 not XLEN-5:XLEN-1
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 1 Sep 2021 19:29:24 +0000
(20:29 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 1 Sep 2021 19:29:24 +0000
(20:29 +0100)
openpower/isa/fixedshift.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/fixedshift.mdwn
b/openpower/isa/fixedshift.mdwn
index 91fabd5cce8afb8712a31015cdd1236c73dc7b43..02f1a71a85f2e747e55325fcc78838d1cdf2777a 100644
(file)
--- a/
openpower/isa/fixedshift.mdwn
+++ b/
openpower/isa/fixedshift.mdwn
@@
-341,7
+341,7
@@
X-Form
Pseudo-code:
- n <- (RB)[XLEN-
5
:XLEN-1]
+ n <- (RB)[XLEN-
6
:XLEN-1]
r <- ROTL64((RS), XLEN-n)
if (RB)[XLEN-7] = 0 then
m <- MASK(n, (XLEN-1))