Re: The builtin function `__builtin_ia32_rdtscp()` is undocumented

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 24 Apr 2017, Liu Hao wrote:

Today I accidentally found the built-in function `__builtin_ia32_rdtscp()` on GCC6, but there is no documentation about it on <http://gcc.gnu.org/onlinedocs/gcc/x86-Built-in-Functions.html>. Is this an oversight?

I don't know if it is an oversight, but I think documenting the builtins is a bad idea, you are supposed to use the intrinsics instead, in this case __rdtscp, which is documented by Intel (and Microsoft).

--
Marc Glisse



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux