From: lkcl Date: Mon, 7 Dec 2020 00:38:53 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1487 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb3b5eb854ca0db4d209ddb479bdb34434a2c95c;p=libreriscv.git --- diff --git a/3d_gpu/architecture/dynamic_simd/eq.mdwn b/3d_gpu/architecture/dynamic_simd/eq.mdwn index d47f167a0..0c0492dcb 100644 --- a/3d_gpu/architecture/dynamic_simd/eq.mdwn +++ b/3d_gpu/architecture/dynamic_simd/eq.mdwn @@ -5,6 +5,11 @@ is compared (eq'd), then, depending on the partitions, those partial results are ANDed together, on the basis that these chains will tell if *all* bits in a particular partition are equal. +Examples: + +* p2p1p0 all zeros indicates that the partitions are all closed, turning our 4 input byte-level compares into a 32-bit compare. by ANDing all 4 byte-levrl compares we get a 32-bit result +* p2p1p0 equal to 0b010 will split into two 16 bit compares. therefore, the first two byte-levrl compares are ANDed to give a hi half-word compare and likewise the lower. + # Boolean truth table [[!table data="""