Re: [Qemu-devel] [PATCH v1 20/33] s390x/tcg: Implement VECTOR PACK

2019-02-27 Thread Richard Henderson
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 ove

[Qemu-devel] [PATCH v1 20/33] s390x/tcg: Implement VECTOR PACK

2019-02-26 Thread David Hildenbrand
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 t