<div class="gmail_quote">On Fri, Apr 13, 2012 at 11:52 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><div>On Fri, Apr 13, 2012 at 3:41 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:</div></div><div><div class="gmail_quote">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Other than the hideously poor code in some of this it looks entirely correct. LGTM, and *wow* thanks for fixing this.</blockquote><div><br></div></div><div>Thanks, r154705.<div> </div></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Can you ensure that the LangRef has the correct spec?</div><div><br></div><div>Have you looked at ARM or other platforms? (not saying you have to, just curious)<br></div></blockquote><div><br></div></div><div><div>The LangRef has the correct spec. I've checked that MIPS generates the right code (there was a pre-existing test for this). We appear to implement atomicrmw nand as a libcall on ARM. I've not checked other platfiorms; I couldn't find any other atomicrmw nand implementations.</div>
</div></div></div></blockquote><div><br></div><div>Thanks! </div></div>