WojciechMula/simd-string

strchr for less-than

niXman opened this issue · 1 comments

hello!

could you please help me with implementation which can check a string for any char less-than specified char?
im trying to figure out myself based on the strstr() implementation but without lack, because I just have no any experience with SIMD :(

best!

solved using _mm_cmpestri() with _SIDD_LEAST_SIGNIFICANT | _SIDD_CMP_RANGES | _SIDD_UBYTE_OPS flags.