<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 7, 2015, at 11:18 AM, Philip Reames <<a href="mailto:listmail@philipreames.com" class="">listmail@philipreames.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
On the review for <a class="moz-txt-link-freetext" href="http://reviews.llvm.org/D6808">http://reviews.llvm.org/D6808</a>, <a href="http://reviews.llvm.org/p/majnemer/" class=" phui-handle
phui-link-person">majnemer</a> commented that:<br class="">
<span class="transaction-comment" data-sigil="transaction-comment" data-meta="14_7">"Address space 1 has a special meaning in LLVM,
it's identical to address space 0 except for the fact that "null"
may be dereferenced. You might want to consider a different
address space."<br class="">
<br class="">
This is the first I've heard of this and I can't find any
documentation about it being reserved, either in general, or
specifically for x86. Can anyone clarify?<br class=""></span></div></div></blockquote>First i’ve heard of it...<br class=""><blockquote type="cite" class=""><div class=""><div bgcolor="#FFFFFF" text="#000000" class=""><span class="transaction-comment" data-sigil="transaction-comment" data-meta="14_7">
<br class="">
The only address spaces with special meanings I know of are:<br class="">
- 0 (the normal address space, null is not dereferencable)<br class="">
- 256 - TLS, GS relative addressing<br class="">
- 257 - FS relative addressing<br class=""></span></div></div></blockquote>I didn’t even know 256/257 had special meanings. I thought they were only used by x86. It would be good to clarify them too just incase other targets ever wanted to use them.</div><div><br class=""></div><div>Thanks,</div><div>Pete<br class=""><blockquote type="cite" class=""><div class=""><div bgcolor="#FFFFFF" text="#000000" class=""><span class="transaction-comment" data-sigil="transaction-comment" data-meta="14_7">
<br class="">
Philip<br class="">
</span>
</div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:LLVMdev@cs.uiuc.edu" class="">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" class="">http://llvm.cs.uiuc.edu</a><br class=""><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br class=""></div></blockquote></div><br class=""></body></html>