<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
</div></div>Looking at u_atomic.h there is a section that uses<br>
PIPE_ATOMIC_ASM_MSVC_X86 and has explicit assembly, and there's a<br>
section that uses PIPE_ATOMIC_MSVC_INTRINSIC and has intrinsics. No<br>
clue whatsoever what the difference between them is, but presumably it<br>
doesn't exist solely for the purpose of annoying developers...<br></blockquote><div><br></div><div>I can't think of a good reason; I would be interested in knowing why. Last time I checked, MSVC is terrible at optimizing around __asm{} blocks and if I recall, only x86 (i.e. 32-bit) supports inline assembly. This is a bit off-topic though...</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
  -ilia<br>
</font></span></blockquote></div><br></div></div>