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

Sean Silva chisophugis at gmail.com
Wed Jul 9 09:13:43 PDT 2014


On Wed, Jul 9, 2014 at 9:42 AM, Cameron McInally <cameron.mcinally at nyu.edu>
wrote:

> 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).
>

I agree that this more precise description is better. Also, we should
definitely mention the connection with GCC's behavior so that the
interested reader can investigate if necessary.

-- Sean Silva


>
> -Cameron
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140709/4bbbbc2a/attachment.html>


More information about the llvm-commits mailing list