(no commit message)
authorlkcl <lkcl@web>
Mon, 21 Dec 2020 16:51:50 +0000 (16:51 +0000)
committerIkiWiki <ikiwiki.info>
Mon, 21 Dec 2020 16:51:50 +0000 (16:51 +0000)
3d_gpu/architecture/dynamic_simd/logicops.mdwn

index af6730a4e592e740c6c2326340a511e1c167b5db..feb6b1fa3cc1cfe6f137c7d97c11bcb303d83b42 100644 (file)
@@ -80,6 +80,6 @@ p2p1p0 | o0       | o1 | o2 | o3
 
 Example:
 
-* when p2p1p0 == 101 this indicates that the output is to contain an XOR of the top 8 bits, the middle 16 bits, and the low 8 bits. this in a 4 bit result.
+* when p2p1p0 == 101 this indicates that the output is to contain an XOR of the top 8 bits, the middle 16 bits, and the low 8 bits. this in a 4 bit result (o3o2o1o0)
 * the top bit of the 4-bit answer contains x3, the middle 2 bits contain the XOR or x1 and x2, the first bit contains x0.
 * therefore, the final result: the top bit contains the XOR of the input bits 24 to 31, the middle 2 bits contains the XOR of bits 8 to 15, the lowest bit contains the XOR of bits 0 to 7.