projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84d0f6
)
shift-add is useful even with LD-ST-indexed-shifted
author
Jacob Lifshay
<programmerjake@gmail.com>
Wed, 12 Apr 2023 20:37:47 +0000
(13:37 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Wed, 12 Apr 2023 20:37:47 +0000
(13:37 -0700)
openpower/sv/rfc/ls004.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/rfc/ls004.mdwn
b/openpower/sv/rfc/ls004.mdwn
index fe8c1513e2fb331c4f27c68e9e8a0bf061df057f..24c35769e0d7b467cc6684b459dcc963da22d416 100644
(file)
--- a/
openpower/sv/rfc/ls004.mdwn
+++ b/
openpower/sv/rfc/ls004.mdwn
@@
-73,6
+73,10
@@
add shift-and-add. Replaces a pair of explicit instructions in hot-loops.
as the second operand is constrained to lower 32-bits
and zero-extended.
3. Both are 2-in 1-out instructions.
+4. shift-add operations are present in both x86 and aarch64,
+ since they are useful for both general arithmetic and for
+ computing addresses even when not immediately followed
+ with a load/store.
TODO: signed 32-bit shift-and-add should be added, this needs to be addressed
before submitting the RFC: <https://bugs.libre-soc.org/show_bug.cgi?id=996>