From d0c516131dda60bbc5db1f63714d62a4272fff4d Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 18 Jan 2021 15:01:58 +0000 Subject: [PATCH] --- openpower/sv/av_opcodes.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/openpower/sv/av_opcodes.mdwn b/openpower/sv/av_opcodes.mdwn index 11ff00f93..6f279e850 100644 --- a/openpower/sv/av_opcodes.mdwn +++ b/openpower/sv/av_opcodes.mdwn @@ -10,6 +10,14 @@ Links * [[vpu]] +# Summary + +In-advance, the summary of operations that need to be added is: + +| instruction | pseudocode | +| average-add. | result = (src1 + src2 + 1) >> 1 | +| abs-diff | result = abs (src1-src2) | + # Audio The fundamental principle for these instructions is: -- 2.30.2