From: lkcl Date: Tue, 8 Dec 2020 15:24:01 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1473 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b89ad8f5b2385b89dc52a1f63aedb9d0b78a9b82;p=libreriscv.git --- diff --git a/openpower/sv/av_opcodes.mdwn b/openpower/sv/av_opcodes.mdwn index 9267749bd..8b0deb4e0 100644 --- a/openpower/sv/av_opcodes.mdwn +++ b/openpower/sv/av_opcodes.mdwn @@ -18,13 +18,19 @@ TODO vpkpx is a 32-bit to 16-bit 8888 into 1555 conversion + + +### vpks[*][*]s + +signed and unsigned, these are N-to-M (N=64/32/16, M=32/16/8) chop/clamp/sign/zero-extend operations + ### vupkhpx / vupklpx these are 16-bit to 32-bit 1555 to 8888 conversion ### vavgs* -signed and usigned, 8/16/32: these are all of the form: +signed and unsigned, 8/16/32: these are all of the form: result = truncate((a + b + 1) >> 1))