On 05.08.23 01:03, Ilya Leoshkevich wrote:
Currently the emulation of VSTRS recognizes partial matches in presence
of \0 in the haystack, which, according to PoP, is not correct:

     If the ZS flag is one and a zero byte was detected
     in the second operand, then there can not be a
     partial match ...

Add a check for this. While at it, fold a number of explicitly handled
special cases into the generic logic.

Can we split that off? Or doesn't it make sense to split it off after fixing the issue?

--
Cheers,

David / dhildenb


Reply via email to