From a21f841866228dcaa41cfe8e666a5abc35e54c10 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 28 Aug 2022 18:59:15 +0100 Subject: [PATCH] --- openpower/sv/av_opcodes.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/sv/av_opcodes.mdwn b/openpower/sv/av_opcodes.mdwn index 9efdd353c..ce4971fbf 100644 --- a/openpower/sv/av_opcodes.mdwn +++ b/openpower/sv/av_opcodes.mdwn @@ -50,7 +50,7 @@ The fundamental principle for these instructions is: Thus for example, where OpenPOWER VSX has vpkswss, this would be achieved in SV with simply: -* applying saturation to maxu (sv.maxu/satu) +* applying saturation to minu (sv.minu/satu) * 1st op, swizzle-selection vec2 "select X only" from source to dest: dest.X = extclamp(src.X) * 2nd op, swizzle-select vec2 "select Y only" from source to dest @@ -64,7 +64,7 @@ the source mask and every odd bit set in the destination mask: r3=0b10101010 r10=0b01010101 r0=0x00007fff # or other limit - sv.maxu/satu/sm=r3/dm=r10/ew=32 *r20,*r20,r0 + sv.minu/satu/sm=r3/dm=r10/ew=32 *r20,*r20,r0 ## Scalar element operations -- 2.30.2