(no commit message)
authorlkcl <lkcl@web>
Wed, 26 Apr 2023 16:23:57 +0000 (17:23 +0100)
committerIkiWiki <ikiwiki.info>
Wed, 26 Apr 2023 16:23:57 +0000 (17:23 +0100)
openpower/sv/vector_ops/discussion.mdwn

index 20dd6687737a9630a9fb8e4511de53040ce349a3..e09283373c046478c3b960afddcc167413958d9c 100644 (file)
@@ -212,6 +212,13 @@ mask-out effect of resetting the count back to zero.
 However close examination shows that the above may actually
 be `sv.addi/mr/sm=EQ/sz *r1, *r0, 1` TODO check this
 
+this looks promising:
+
+    sv.add *v4+1, *v4, *v2
+
+where v2 is guaranteed to contain 0 or 1, the dependency chain
+accumulates v2 via the overlap between src1 and dest vectors.
+
 # cprop
 
 * <https://www.geeksforgeeks.org/carry-look-ahead-adder/>