projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaeaab4
)
(no commit message)
author
lkcl
<lkcl@web>
Tue, 6 Jun 2023 20:28:52 +0000
(21:28 +0100)
committer
IkiWiki
<ikiwiki.info>
Tue, 6 Jun 2023 20:28:52 +0000
(21:28 +0100)
openpower/sv/po9_encoding/discussion.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/po9_encoding/discussion.mdwn
b/openpower/sv/po9_encoding/discussion.mdwn
index ca187c6c8cad0c32b9cf53ee95aaf0e8e8dfe5fd..681be3442f5be5f8f04dffa12cbb951e20bcdc7a 100644
(file)
--- a/
openpower/sv/po9_encoding/discussion.mdwn
+++ b/
openpower/sv/po9_encoding/discussion.mdwn
@@
-16,12
+16,11
@@
Length detection:
```
- if PO1 return 64
- if not PO9 return 32
- if Word[31] = 1 return 64
- if Word[29:31] = 0b100 return 32
- if Word[29:31] = 0b000 return 64
-
- return 32
+ if PO1 return 64
+ elif not PO9 return 32
+ elif Word[31] = 1 return 64
+ elif Word[29:31] = 0b100 return 32
+ elif Word[29:31] = 0b000 return 64
+ else return 32
```