r146263.<div>Thanks! </div><div><br></div><div>--kcc </div><div><br><div class="gmail_quote">On Fri, Dec 9, 2011 at 1:56 AM, Alexander Potapenko <span dir="ltr"><<a href="mailto:glider@google.com">glider@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The attached patch should fix asan_test64 on Snow Leopard.<br>
The values of ModR/M byte for %rax, %rdx, %rsp, %rsi in this case are<br>
0x04, 0x14, 0x24, 0x34 (see<br>
<a href="http://ref.x86asm.net/geek64.html#modrm_byte_32_64" target="_blank">http://ref.x86asm.net/geek64.html#modrm_byte_32_64</a>),<br>
therefore we should mask them with 0xCF (not 0x3F) to compare with 0x04.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Alexander Potapenko<br>
Software Engineer<br>
Google Moscow<br>
</font></span></blockquote></div><br></div>