2 ms·
Not only C strings; this code uses the Pascal string variant: "This monster of an instruction takes in 4 registers of input: the 2 strings themselves as parame
by Someone 10y ago
Not only C strings; this code uses the Pascal string variant:
"This monster of an instruction takes in 4 registers of input: the 2 strings themselves as parameters, plus their lengths in %rax and %rdx (‘e’ meaning explicit length - pcmpistri & pcmpistrm instead look for terminating nulls"