(no commit message)
authorlkcl <lkcl@web>
Mon, 2 Aug 2021 09:31:57 +0000 (10:31 +0100)
committerIkiWiki <ikiwiki.info>
Mon, 2 Aug 2021 09:31:57 +0000 (10:31 +0100)
openpower/sv/branches.mdwn

index 3aa447bf59d23406a5ff2c8b6397f43d2155e948..83ff38bf4fbb945e29ec792acd56c63bf77f9437 100644 (file)
@@ -114,4 +114,23 @@ Available options to combine:
 Pseudocode for Horizontal-First Mode:
 
 ```
+   if BO[0]:
+       cond_ok = 1
+   else
+       cond_ok = not SVRMmode.ALL
+       for i in range(VL):
+           if predicate[i]:
+               testbit = CR[BI+32+srcstep*4]
+           else if not SVRMmode.sz:
+               continue
+           else testbit = SVRMmode.SNZ
+           el_cond_ok <- ¬(testbit ^ BO[1])
+           if SVRMmode.ALL:
+               if ~el_cond_ok:
+                   break
+               cond_ok &= el_cond_ok
+           else
+               if el_cond_ok:
+                   break
+               cond_ok |= el_cond_ok
 ```