|
From: | Richard Henderson |
Subject: | Re: [qemu-s390x] [Qemu-devel] [PATCH v1 20/33] s390x/tcg: Implement VECTOR PACK |
Date: | Wed, 27 Feb 2019 15:11:56 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 2/26/19 3:39 AM, David Hildenbrand wrote: > We cannot use gvex expansion as the element size of source and > destination differs. So expand manually. Luckily, VECTOR PACK does not > care about saturation or setting the CC, so it can be implemented > without a helper. We have to watch out for overlapping source and > destination registers and use a temporary register in this case. > > Signed-off-by: David Hildenbrand <address@hidden> > --- > target/s390x/insn-data.def | 2 ++ > target/s390x/translate_vx.inc.c | 41 +++++++++++++++++++++++++++++++++ > 2 files changed, 43 insertions(+) Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |