projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a24ed2
)
(no commit message)
author
lkcl
<lkcl@web>
Thu, 23 Jun 2022 10:02:25 +0000
(11:02 +0100)
committer
IkiWiki
<ikiwiki.info>
Thu, 23 Jun 2022 10:02:25 +0000
(11:02 +0100)
openpower/sv/vector_ops/discussion.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/vector_ops/discussion.mdwn
b/openpower/sv/vector_ops/discussion.mdwn
index 4055678b2020b6be79e2b52dade016d4e7338568..6ff8b9f790c58dcb732d9ad507aaad5330803dc9 100644
(file)
--- a/
openpower/sv/vector_ops/discussion.mdwn
+++ b/
openpower/sv/vector_ops/discussion.mdwn
@@
-11,7
+11,7
@@
needs some work though
a1 <- (RA) & mask
if mode[1] then a1 <- ¬ra
mode2 <- mode[2:3]
- if mode2 = 0 then a2 <-
-ra
+ if mode2 = 0 then a2 <-
(¬ra)+1
if mode2 = 1 then a2 <- ra-1
if mode2 = 2 then a2 <- ra+1
if mode2 = 3 then a2 <- ¬(ra+1)