Ubuntu – C++ SIMD fastest way to mask out bytes higher than separator position
uint8_t data[] = "mykeyxyz:1234nky:123n...";. My lines of string has format key:value, where each line has len(key) <= 16 guaranteed. I want to load mykeyxyz into a __m128i, but fill out the higher position with 0. The easiest way is to…