[Bug target/92137] [ia32] Missing documentation for ia32 builtins

arieltorti14 at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 17 17:47:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92137

--- Comment #2 from Ariel Torti <arieltorti14 at gmail dot com> ---
(In reply to Richard Biener from comment #1)
> You shouldn't use those, they are for internal use only.  That's the reason
> they are not documented.

Yes, my mistake. I just read
https://www.mail-archive.com/gcc@gcc.gnu.org/msg03310.html, where it says
built-ins should not be documented.

But if builtins are not documented their interfaces should, right ?
As in, the functions below should be documented:

__bsfd / _bit_scan_forward
__bsrd / _bit_scan_reverse
__bswapd / _bswap
__crc32b / 
__crc32w
__crc32d
__popcntd / _popcnt32
__rdpmc / _rdpmc
__rdtsc / _rdtsc 
__rdtscp / _rdtscp
__rolb
__rolw
__rold
__rorb
__rorw
__rord
__pause
__bsfq
__bsrq
__bswapq / _bswap64
__crc32q
__popcntq / _popcnt64
__rolq
__rorq
__writeeflags
__readeflags


More information about the Gcc-bugs mailing list