Question about compiler flags

Question about compiler flags

Can anybody tell methe compiler flags that Ishouldinsert in my make fileto use built-in function in gcc like __builtin_prefetch.
Thanks in advance.

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.


GCC includes built-in versions of many of the functions in the standard C library (including __builtin_prefetch).
Examples can be found in gcc doc:
As I understood there's no special flag you need to add in order to use __builtin_prefetch?
It works fine for me with an example makefile.

Thanks, It is a really nice link

Leave a Comment

Please sign in to add a comment. Not a member? Join today