With SSE version 4.2, four compare-string instructions were introduced: two instructions for strings with implicit lengths and two instructions for strings with explicit lengths. Two of these four instructions use masks.
A string with an implicit length is a string with a terminating 0. For a string with an explicit length, the length has to be specified by some other means.
String | Instruction | arg1 | arg2 | arg3 ... |
---|