News for hackers. Stuff that matters.
Re:AVX512 intrinsics for JDK’s Arrays.sort methods by thfuran on Wednesday May 31, 2023 @12:27PM (#36140242)
But their point is that

>every hand-optimized vectorized x86 routine

is approximately 0 percent of code.

Re:AVX512 intrinsics for JDK’s Arrays.sort methods by gh02t on Wednesday May 31, 2023 @01:18PM (#36140904)
Sure but OP's point is that that tiny fraction of code is (probably, I'm just guessing) responsible for a disproportionately large fraction of time spent actually running work. AVX is AFAIK mostly used in hand rolled, low level library code that then is used by a whole lot of consumers.

I know I've seen pretty huge speedups in my own code for "free" just from switching to an AVX version of BLAS. You can just think about how many different programs use BLAS (which is itself highly arcane internally), and AVX is definitely in a ton of other low level libraries out there.

Re:AVX512 intrinsics for JDK’s Arrays.sort methods by ithinkso on Wednesday May 31, 2023 @02:11PM (#36141636)
Approximately 0 percent of a code needs optimization.

But very often approximately 0 percent of a code is 90+% of a runtime