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

https://gcc.gnu.org/onlinedocs/gcc/Loop-Specific-Pragmas.htm...

The #pragma GCC ivdep annotation also enables this in loops. C23 also has the [[unsequenced]] attribute, which supports pointer arguments for optimizations like these, unlike [[gnu::const]].



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

Search: