Re:Removing characters from strings faster with AVX-512
by ip26 on Sunday May 01, 2022 @01:15PM
(#31226717)
Is it generally possible to convert rep str sequences to AVX? Could the hardware or compiler already be doing this?
AVX is just the SIMD unit. I would argue the transistors were spent on SIMD, and the hitch is simply the best way to send str commands to the SIMD hardware.
Re:Removing characters from strings faster with AVX-512
by ip26 on Tuesday May 03, 2022 @02:20AM
(#31245294)
If you are arguing most string ops have just a few chars and therefore don’t use vectors… why do we need to spend silicon enhancing rep prefix in the first place?
AVX is just the SIMD unit. I would argue the transistors were spent on SIMD, and the hitch is simply the best way to send str commands to the SIMD hardware.