(no commit message)
authorlkcl <lkcl@web>
Sun, 14 Feb 2021 20:05:12 +0000 (20:05 +0000)
committerIkiWiki <ikiwiki.info>
Sun, 14 Feb 2021 20:05:12 +0000 (20:05 +0000)
3d_gpu/architecture/dynamic_simd/eq.mdwn

index 43293ebe9907a544bf7085d33a60048cd587a9d6..c66c51957a0689a6ef46d8dda5c8d1ba1a38eb89 100644 (file)
@@ -12,6 +12,15 @@ Examples:
 
 # Boolean truth table
 
+Given the four byte-level comparisons `eq0-eq3`:
+
+    eq0 = a[0:7] == b[0:7]
+    eq1 = a[8:15] == b[8:15]
+    eq2 = a[16:23] == b[16:23]
+    eq3 = a[24:31] == b[24:31]
+
+the truth table for the 4-bit outputs `o0-o3` are as follows:
+
 [[!table  data="""
 p2p1p0 | o0       | o1 | o2 | o3
 ++++++ | ++++++++ | ++++++++ | ++++++++ | ++