bug-gnulib
[Top][All Lists]
Advanced

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

__builtin_expect [was: __func__]


From: Eric Blake
Subject: __builtin_expect [was: __func__]
Date: Fri, 29 Feb 2008 06:43:06 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 2/28/2008 1:43 PM:
|> I was unsure where to document this, it isn't either a function or
|> header file, strictly speaking.
|
| I would put its documentation in chapter "Particular modules". If/when
| the 'inline' module gets documented, one might combine these into a chapter
| "Compiler Characteristics".

Along the lines of detecting compiler capabilities, would it be worth a
'builtin_expect' module that provides a __builtin_expect in config.h for
compilers that don't provide it?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHyAvq84KuGfSFAYARAudRAJoDQDMenvE7lsl7Saw3QKvReru6qQCgnrpG
fxCcjI/HvfdPHQNT9TbMLGI=
=I2uQ
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]