(no commit message)
authorlkcl <lkcl@web>
Fri, 25 Dec 2020 19:41:12 +0000 (19:41 +0000)
committerIkiWiki <ikiwiki.info>
Fri, 25 Dec 2020 19:41:12 +0000 (19:41 +0000)
openpower/sv/bitmanip.mdwn [new file with mode: 0644]

diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn
new file mode 100644 (file)
index 0000000..d1408dd
--- /dev/null
@@ -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