projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44282d1
)
add first gather instruction pseudocode
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 27 Nov 2023 13:14:43 +0000
(13:14 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 9 Dec 2023 06:47:37 +0000
(06:47 +0000)
openpower/isa/bitmanip.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/bitmanip.mdwn
b/openpower/isa/bitmanip.mdwn
index 3b0cc8e8da302a7e7a21b0ed69b329e914be8327..1f8081d7a2df09c165c982f668f52dc08f4fdec4 100644
(file)
--- a/
openpower/isa/bitmanip.mdwn
+++ b/
openpower/isa/bitmanip.mdwn
@@
-2,6
+2,25
@@
<!-- https://libre-soc.org/openpower/sv/bitmanip/ -->
<!-- These instructions are *not yet official* -->
+# Gather instruction
+
+X-Form
+
+* gbbd RT,RA
+
+Pseudo-code:
+
+ result <- [0] * 64
+ do j = 0 to 7
+ do k = 0 to 7
+ b <- (RA)[k*8+j]
+ result[j*8+k] <- b
+ RT <- result
+
+Special Registers Altered:
+
+ CR0 (if Rc=1)
+
# Ternary Bitwise Logic Immediate
TLI-Form