From a6928c8090b475746f7cefa0c1d90c1ac5ddb6dd Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 18 Jan 2021 15:08:15 +0000 Subject: [PATCH] --- openpower/sv/av_opcodes.mdwn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openpower/sv/av_opcodes.mdwn b/openpower/sv/av_opcodes.mdwn index 6f279e850..c1ab97bbb 100644 --- a/openpower/sv/av_opcodes.mdwn +++ b/openpower/sv/av_opcodes.mdwn @@ -12,11 +12,17 @@ Links # Summary -In-advance, the summary of operations that need to be added is: +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) | +| signed min | result = (src1 < src2) ? src1 : src2 | +| signed max | result = (src1 > src2) ? src1 : src2 | +| bitwise sel | (a ? b : c) - use bitmanip ternary | + +All other capabilities are achieved with [[sv/svp64]] modes and swizzle. # Audio -- 2.30.2