Use Agner Fog asmlib. http://www.agner.org/optimize/#asmlib
He already had a problem writing code in the assembly for you, including SSE4.2 instructions. Use its A_strcmp
function (or the case-insensitive version of A_stricmp
).
It would be interesting how a method using intrinsics compares in performance.
user2088790
source share