News for hackers. Stuff that matters.
Re:tolower() in bulk at speed by dragontamer on Monday June 27, 2022 @06:23PM (#31901662)
Yeah, good point. SIMD is also superscalar on most systems.

For x86, Intel can do 3x AVX512 instructions per clock tick as long as each instruction is simple enough (add, AND, OR, NOT, XOR, maybe even multiply if you're not counting the latency issue)

Re:tolower() in bulk at speed by moonchild on Monday June 27, 2022 @09:20PM (#31903018)
Only port 5 and port 0/1 can do avx512 instructions on skylake/icelake, so I don't think you can get better throughput than 0.5 on current parts. Unless you count load & store as well, like I mentioned.
Re:tolower() in bulk at speed by moonchild on Monday June 27, 2022 @11:22PM (#31903728)
(Unless you count an avx512-specific instruction operating on a 32- or 16-byte vector as an 'avx512 instruction'.)
Re:tolower() in bulk at speed by mhh__ on Tuesday June 28, 2022 @06:50AM (#31906162)
Skylake is 7 years old
Re:tolower() in bulk at speed by moonchild on Tuesday June 28, 2022 @10:54PM (#31915934)
And icelake is 3 years old. If you have a newer avx512-supported chip which can do more than two 512-bit alu ops per cycle, I would love to take a look at it.
Re:tolower() in bulk at speed by mhh__ on Wednesday June 29, 2022 @06:26AM (#31918348)
throughput and latency did improve with alder lake (...), but i see your point.