From bb3b5eb854ca0db4d209ddb479bdb34434a2c95c Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 7 Dec 2020 00:38:53 +0000 Subject: [PATCH] --- 3d_gpu/architecture/dynamic_simd/eq.mdwn | 5 +++++ 1 file changed, 5 insertions(+) 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=""" -- 2.30.2