128bit hash comparison with SSE

Posted by fokenrute on Stack Overflow See other posts from Stack Overflow or by fokenrute
Published on 2010-12-26T14:48:17Z Indexed on 2010/12/26 14:53 UTC
Read the original article Hit count: 238

Filed under:
|
|
|
|

Hi,
In my current project, I have to compare 128bit values (actually md5 hashes) and I thought it would be possible to accelerate the comparison by using SSE instructions. My problem is that I can't manage to find good documentation on SSE instructions; I'm searching for a 128bit integer comparison instruction that let me know if one hash is larger, smaller or equal to another. Does such an instruction exists?

PS: The targeted machines are x86_64 servers with SSE2 instructions; I'm also interested in a NEON instruction for the same job.

© Stack Overflow or respective owner

Related posts about c

    Related posts about assembly