This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, middle end]: Fix PR 37908, thinko with atomic NAND operation
On Fri, Oct 24, 2008 at 01:29:55PM +0100, Andrew Haley wrote:
> I don't think it's that exactly, but that what the builtins do is
> wrong, or at best very misleading. NAND is a well-defined term of
> the art; it isn't defined by the gcc documentation.
The name of the builtin may be misleading, but changing semantics of a
builtin after it has been in use for 9 years is even worse. The origin
of the builtin is in ia64intrin.h and therefore icc, I guess, so
it matters what icc is implementing. H.J., could you please check out what
this intrinsics does with icc on ia64?
Jakub