From 3b2ba245b46796b0e8f9fde5ada24046370ed881 Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 13 Jun 2022 17:39:36 +0100 Subject: [PATCH] --- openpower/sv/mv.swizzle.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openpower/sv/mv.swizzle.mdwn b/openpower/sv/mv.swizzle.mdwn index 805c42deb..54b39e400 100644 --- a/openpower/sv/mv.swizzle.mdwn +++ b/openpower/sv/mv.swizzle.mdwn @@ -176,6 +176,16 @@ def get_src_from_dest(swiz, idx): ``` +**Effect of Saturation on Vectorised Swizzle** + +``` +one thing that occurred to me: we need fmv.swizzle and maybe mvfixed[u].swizzle too (integers where 0.0 maps to 0 and 1.0 maps to the max signed/unsigned integer -- used for fixed-point swizzle such as pixel data -- we need signed ints for efficient bump map support for some programs). the 0.0 and 1.0 constants should map to 0, 1 for mv.swizzle, 0.0, 1.0 for fmv.swizzle, 0, UINT_MAX for mvfixedu.swizzle, and 0, INT_MAX for mvfixed.swizzle. + +i like the idea of a SKIP option! + +Jacob +``` + # RM Mode Concept: MVRM-2P-1S1D: -- 2.30.2