Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> without knowing exactly what processor instructions you are trying to trick the compiler into generating

In fact, in this case you know exactly what processor instructions the compiler is going to generate. You are using AVX intrinsics after all.

And no, compiler optimizations work well with these intrinsics.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: