We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I have a question. I used '__builtin_ctz' function in arm compiler and it worked well, but I don't know which header file contains '__builtin_ctz' function. Do you know which header file is needed to use '__builtin_ctz' function?
Hi,
as the name implies, a builtin is a compiler intrinsnic, they're not provided by a header. They are "builtin" to the compiler as it were.
Thank you for answering my question. Then can't I find the implementation of builtin functions?
not without the source code of the compiler. These aren't real functions, they are generated internally by the compiler.