<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 01/07/2015 11:28 AM, Pete Cooper
wrote:<br>
</div>
<blockquote
cite="mid:2FC3ECFE-A158-4ED1-A06C-237C0A31539E@apple.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jan 7, 2015, at 11:18 AM, Philip Reames <<a
moz-do-not-send="true"
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 moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://reviews.llvm.org/D6808">http://reviews.llvm.org/D6808</a>,
<a moz-do-not-send="true"
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>
</blockquote>
Sorry, let me clarify. To my knowledge, 256/257 are only reserved
on x86. <br>
<blockquote
cite="mid:2FC3ECFE-A158-4ED1-A06C-237C0A31539E@apple.com"
type="cite">
<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 moz-do-not-send="true" href="mailto:LLVMdev@cs.uiuc.edu"
class="">LLVMdev@cs.uiuc.edu</a> <a
moz-do-not-send="true" href="http://llvm.cs.uiuc.edu"
class="">http://llvm.cs.uiuc.edu</a><br class="">
<a moz-do-not-send="true"
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="">
</blockquote>
<br>
</body>
</html>