Re:Counting bytes fast
by pmalynin on Saturday September 27, 2014 @11:03PM
(#8378812)
Right. However, AVX and SSE registers aren't just big 512-128 bit numbers. But rather arrays of bytes/shorts/ints/floats/doubles.
[ Parent
| on HN ]
Actually, you can add one 512-bit register with another 512 bit register in a single instruction. You won't get a carry from a segment to a segment but nialo's general idea can be implemented.
How fast it can be done is another topic.