From fe2815b63c72f3327438e6d1bc6ec478e67dc492 Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 5 May 2022 07:07:34 +0100 Subject: [PATCH] --- openpower/sv/vector_ops.mdwn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/openpower/sv/vector_ops.mdwn b/openpower/sv/vector_ops.mdwn index 1a69d9207..c2855da78 100644 --- a/openpower/sv/vector_ops.mdwn +++ b/openpower/sv/vector_ops.mdwn @@ -268,6 +268,22 @@ used not just for carry lookahead, also a special type of predication mask opera `((P|G)+G)^P` * +From QLSKY.png: + +``` + x0 = nand(CIn, P0) + C0 = nand(x0, ~G0) + + x1 = nand(CIn, P0, P1) + y1 = nand(G0, P1) + C1 = nand(x1, y1, ~G1) + + x2 = nand(CIn, P0, P1, P2) + y1 = nand(G0, P1) + C1 = nand(x1, y1, ~G1) + +``` + ``` P = (A | B) & Ci G = (A & B) -- 2.30.2