Re: [Qemu-devel] [PATCH] target/i386: fix packusdw in-place operation

2017-08-10 Thread Paolo Bonzini
On 10/08/2017 02:24, Joseph Myers wrote: > The SSE4.1 packusdw instruction combines source and destination > vectors of signed 32-bit integers into a single vector of unsigned > 16-bit integers, with unsigned saturation. When the source and > destination are the same register, this means each 32-b

[Qemu-devel] [PATCH] target/i386: fix packusdw in-place operation

2017-08-09 Thread Joseph Myers
The SSE4.1 packusdw instruction combines source and destination vectors of signed 32-bit integers into a single vector of unsigned 16-bit integers, with unsigned saturation. When the source and destination are the same register, this means each 32-bit element of that register is used twice as an i