projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e53ef3e
)
(no commit message)
author
lkcl
<lkcl@web>
Fri, 25 Dec 2020 19:41:12 +0000
(19:41 +0000)
committer
IkiWiki
<ikiwiki.info>
Fri, 25 Dec 2020 19:41:12 +0000
(19:41 +0000)
openpower/sv/bitmanip.mdwn
[new file with mode: 0644]
patch
|
blob
diff --git a/openpower/sv/bitmanip.mdwn
b/openpower/sv/bitmanip.mdwn
new file mode 100644
(file)
index 0000000..
d1408dd
--- /dev/null
+++ b/
openpower/sv/bitmanip.mdwn
@@ -0,0
+1,6
@@
+# bit to byte permute
+
+ do j = 0 to 7
+ do k = 0 to 7
+ b = VSR[VRB+32].dword[i].byte[k].bit[j]
+ VSR[VRT+32].dword[i].byte[j].bit[k] = b