(no commit message)
authorlkcl <lkcl@web>
Tue, 15 Feb 2022 06:02:08 +0000 (06:02 +0000)
committerIkiWiki <ikiwiki.info>
Tue, 15 Feb 2022 06:02:08 +0000 (06:02 +0000)
openpower/sv/bitmanip.mdwn

index 269e9bff3bc28b5ef8bb603579068b4094f033fe..c7821f1309e216e8e128c4aefd7531b22beb1593 100644 (file)
@@ -322,6 +322,10 @@ uint_xlen_t bmextrev(RA, RB, sh)
         idx = b << 1 | a
         return imm[idx] # idx by LSB0 order
 
+     dorow(imm, step_i, chunksize):
+        for j in 0 to 63:
+            step_o[j] = lut2(imm, step_i[j], step_i[j ^ chunk_size])
+        return step_o
 
 # grev