projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c65cd7
)
(no commit message)
author
lkcl
<lkcl@web>
Tue, 1 Dec 2020 16:12:32 +0000
(16:12 +0000)
committer
IkiWiki
<ikiwiki.info>
Tue, 1 Dec 2020 16:12:32 +0000
(16:12 +0000)
openpower/sv/setvl.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/setvl.mdwn
b/openpower/sv/setvl.mdwn
index 9fc0e5f67970e6e9ca3b20167795f1ceaa1c4d2d..250ff634ed1e0df4aca3ca36d0dadaef8e2b72ba 100644
(file)
--- a/
openpower/sv/setvl.mdwn
+++ b/
openpower/sv/setvl.mdwn
@@
-54,7
+54,9
@@
See links:
if rt != 0 {
// rt is not zero
regs[rt] = VL;
- if Rc {
- // update CR from VL
- }
+ }
+ // write CR?
+ if Rc {
+ // update CR from VL (not rt)
+ CR0 = ....
}