From: lkcl Date: Tue, 8 Dec 2020 17:48:40 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1469 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b96a02ffda995f44aa0504f8563e83064599d78b;p=libreriscv.git --- diff --git a/openpower/sv/av_opcodes.mdwn b/openpower/sv/av_opcodes.mdwn index 79a355c17..1e6539ed9 100644 --- a/openpower/sv/av_opcodes.mdwn +++ b/openpower/sv/av_opcodes.mdwn @@ -41,7 +41,7 @@ a single 32-bit to 16-bit operation should suffice, fitting cleanly into one sin dest[6 :10] = src[16:20] dest[11:15] = src[24:28] -## vpks[*][*]s +## vpks[\*][\*]s signed and unsigned, these are N-to-M (N=64/32/16, M=32/16/8) chop/clamp/sign/zero-extend operations @@ -49,20 +49,20 @@ signed and unsigned, these are N-to-M (N=64/32/16, M=32/16/8) chop/clamp/sign/ze these are 16-bit to 32-bit 1555 to 8888 conversion -## vavgs* +## vavgs\* signed and unsigned, 8/16/32: these are all of the form: result = truncate((a + b + 1) >> 1)) -## vabsdu* +## vabsdu\* unsigned 8/16/32: these are all of the form: result = (src1 > src2) ? truncate(src1-src2) : truncate(src2-src1) -## vmaxs* / vmaxu* (and min) +## vmaxs\* / vmaxu\* (and min) signed and unsigned, 8/16/32: these are all of the form: