From 225082372ac8bf7a16fdcf5cc84e4d521d17646a Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 19 Jun 2022 15:34:50 +0100 Subject: [PATCH] --- openpower/sv/av_opcodes.mdwn | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/openpower/sv/av_opcodes.mdwn b/openpower/sv/av_opcodes.mdwn index 1f50c61d5..871fadee7 100644 --- a/openpower/sv/av_opcodes.mdwn +++ b/openpower/sv/av_opcodes.mdwn @@ -17,15 +17,15 @@ Links In-advance, the summary of base scalar operations that need to be added is: -| instruction | pseudocode | -| ------------ | ------------------------ | -| average-add. | result = (src1 + src2 + 1) >> 1 | -| abs-diff | result = abs (src1-src2) | +| instruction | pseudocode | +| ------------ | ------------------------ | +| average-add. | result = (src1 + src2 + 1) >> 1 | +| abs-diff | result = abs (src1-src2) | | abs-accumulate| result += abs (src1, src2) | -| signed min | result = (src1 < src2) ? src1 : src2 use bitmanip | -| signed max | result = (src1 > src2) ? src1 : src2 use bitmanip | -| bitwise sel | (a ? b : c) - use [[sv/bitmanip]] ternary | -| int/fp move | covered by [[sv/int_fp_mv]] | +| (un)signed min| result = (src1 < src2) ? src1 : src2 use bitmanip | +| (un)signed max| result = (src1 > src2) ? src1 : src2 use bitmanip | +| bitwise sel | (a ? b : c) - use [[sv/bitmanip]] ternary | +| int/fp move | covered by [[sv/int_fp_mv]] | All other capabilities (saturate in particular) are achieved with [[sv/svp64]] modes and swizzle. Note that minmax and ternary are added in bitmanip. -- 2.30.2