(no commit message)
authorlkcl <lkcl@web>
Tue, 3 Aug 2021 09:17:51 +0000 (10:17 +0100)
committerIkiWiki <ikiwiki.info>
Tue, 3 Aug 2021 09:17:51 +0000 (10:17 +0100)
openpower/sv/branches.mdwn

index 3541d389a41d302e850b709ba151371fa01f81b9..0cec42e6719836c26f2e9130ad719e5b9edaca8d 100644 (file)
@@ -245,7 +245,11 @@ label1:
 which will end up as:
 
 ```
-   sv.cmpi CR0, a, 2
+   sv.cmpi CR0.v a.v, 2      # vector compare a into CR0 vector
    sv.crweird r30, CR0.GT # transfer GT vector to r30
 while_loop:
+   sv.cmpi CR64.v, b.v, 5     # vector compare b into CR64 Vector
+   sv.bc/m=r30/~ALL/sz CR64.v.LT skip_f # skip when none
+   f()
+skip_f:
 ```