From 3f78aaa34a4e112cd0e1586b6004f5d845fc1428 Mon Sep 17 00:00:00 2001 From: lkcl Date: Wed, 26 Apr 2023 17:23:57 +0100 Subject: [PATCH] --- openpower/sv/vector_ops/discussion.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openpower/sv/vector_ops/discussion.mdwn b/openpower/sv/vector_ops/discussion.mdwn index 20dd66877..e09283373 100644 --- a/openpower/sv/vector_ops/discussion.mdwn +++ b/openpower/sv/vector_ops/discussion.mdwn @@ -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 * -- 2.30.2