From b89ad8f5b2385b89dc52a1f63aedb9d0b78a9b82 Mon Sep 17 00:00:00 2001 From: lkcl Date: Tue, 8 Dec 2020 15:24:01 +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 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)) -- 2.30.2