(no commit message)
authorlkcl <lkcl@web>
Tue, 19 Jan 2021 14:49:39 +0000 (14:49 +0000)
committerIkiWiki <ikiwiki.info>
Tue, 19 Jan 2021 14:49:39 +0000 (14:49 +0000)
openpower/sv/remap.mdwn

index 69d5295c5403e53a135294e49509e681f630d6a3..b60b297a57b173b528cc548b7387af1cb267bc25 100644 (file)
@@ -186,10 +186,11 @@ An example where SUBVL Remap is appropriate is the Rijndael MixColumns stage:
 
 <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/76/AES-MixColumns.svg/600px-AES-MixColumns.svg.png" width="400px" />
 
-A 2D REMAP allows:
+Assuming that the bytes are stored `a00 a01 a02 a03 a10 .. a33`
+a 2D REMAP allows:
 
-* the column bytes (as a vec4) to be iterated over as an inner loop.
-  (`a00 a10 a20 a30`)
+* the column bytes (as a vec4) to be iterated over as an inner loop,
+  progressing vertically (`a00 a10 a20 a30`)
 * the columns themselves to be iterated as an outer loop
 * a 32 bit `GF(256)` multiply on the vec4 to be performed.