<div dir="ltr">Not if the load is aligned. Which you can easily guarantee if you're doing "load a big thing and mask/extract", which means you're generating the load address for the big thing by clearing the lower bits of the address that would have been used for the small thing.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 16, 2016 at 9:31 PM, Tim Northover via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I'm less sure if the gaps are on the edges. I'm worried that you might<br>
> ending up crossing some important address boundary if you look at something<br>
> earlier or later than what the user requested.<br>
<br>
</span>Oh yes, you certainly can't do it on the edges in most cases. It can<br>
very easily cross a page boundary and segfault your process.<br>
<br>
Cheers.<br>
<br>
Tim.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div>