From: lkcl Date: Mon, 18 Jan 2021 15:01:58 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~413 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;ds=sidebyside;h=d0c516131dda60bbc5db1f63714d62a4272fff4d;hp=e931c2063bdb5af2f707fa1b0e9291e61923b1c4;p=libreriscv.git --- 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: