[llvm] r212443 - CodeGen: it turns out that NAND is not the same thing as BIC. At all.

Cameron McInally cameron.mcinally at nyu.edu
Wed Jul 9 08:42:34 PDT 2014


On Wed, Jul 9, 2014 at 10:45 AM, Tim Northover <t.p.northover at gmail.com> wrote:
>> I do not often modify the docs, so please feel free to critique harshly. ;)
>
> I'm not sure about using "negate". That can mean "-x" as well, and
> someone might think that's being contrasted with NOT. Particularly as
> the order in both phrases is the same.
>
> Perhaps spell out the operations in C syntax to avoid any ambiguity?
> "... Atomic NAND(x, y) as "x & ~y" ... updated to ~(x & y)"?

No problem, Tim. I'm not partial to the terminology. This was how the
issue was described in the GCC Bug (37908).

-Cameron



More information about the llvm-commits mailing list