Re: [Qemu-devel] [PATCH] target/i386: fix pcmpxstrx substring search

2017-08-11 Thread Paolo Bonzini
On 10/08/2017 23:40, Joseph Myers wrote: > One of the cases of the SSE4.2 pcmpestri / pcmpestrm / pcmpistri / > pcmpistrm instructions does a substring search. The implementation of > this case in the pcmpxstrx helper is incorrect. The operation in this > case is a search for a string (argument

[Qemu-devel] [PATCH] target/i386: fix pcmpxstrx substring search

2017-08-10 Thread Joseph Myers
One of the cases of the SSE4.2 pcmpestri / pcmpestrm / pcmpistri / pcmpistrm instructions does a substring search. The implementation of this case in the pcmpxstrx helper is incorrect. The operation in this case is a search for a string (argument d to the helper) in another string (argument s to