From: lkcl Date: Mon, 13 Jun 2022 16:39:36 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1809 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b2ba245b46796b0e8f9fde5ada24046370ed881;p=libreriscv.git --- 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: