Could you please take a look at GCC's generated code and implementation of memchr? -- Andrei
glibc uses something like pseudo-SIMD with ordinal x86 instructions (XOR magic, etc).
Deap comarison I left for next time :)
Could you please take a look at GCC's generated code and implementation of memchr? -- Andrei
glibc uses something like pseudo-SIMD with ordinal x86 instructions (XOR magic, etc).
Deap comarison I left for next time :)