projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d83b8
)
(no commit message)
author
lkcl
<lkcl@web>
Fri, 25 Dec 2020 22:17:08 +0000
(22:17 +0000)
committer
IkiWiki
<ikiwiki.info>
Fri, 25 Dec 2020 22:17:08 +0000
(22:17 +0000)
openpower/sv/bitmanip.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/bitmanip.mdwn
b/openpower/sv/bitmanip.mdwn
index 01c0adda80324cb4b2ea5e81df9bdb0fabcd57b5..4b75b5d05b8ade1071eb147828e92414ef8197e8 100644
(file)
--- a/
openpower/sv/bitmanip.mdwn
+++ b/
openpower/sv/bitmanip.mdwn
@@
-72,6
+72,7
@@
return x;
# xperm
based on RV bitmanip
+
```
uint_xlen_t xperm(uint_xlen_t rs1, uint_xlen_t rs2, int sz_log2) { uint_xlen_t r = 0;
}
@@
-83,6
+84,7
@@
uint_xlen_t xperm_n (uint_xlen_t rs1, uint_xlen_t rs2) { return xperm(rs1, rs2,
# gorc
based on RV bitmanip
+
```
uint32_t gorc32(uint32_t rs1, uint32_t rs2) { uint32_t x = rs1;
}