Hello,

This documents the new thread pointer built-ins in the SH www changes
for 4.8.
OK?

Cheers,
Oleg
? www_4_8_sh_changes_3.patch
Index: htdocs/gcc-4.8/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
retrieving revision 1.43
diff -u -r1.43 changes.html
--- htdocs/gcc-4.8/changes.html	8 Oct 2012 19:22:43 -0000	1.43
+++ htdocs/gcc-4.8/changes.html	8 Oct 2012 22:01:06 -0000
@@ -377,6 +377,15 @@
     is now enabled and the option <code>-ffinite-math-only</code> implicitly
     sets <code>-mno-ieee</code>.</li>
 
+    <li>Added support for the built-in functions
+    <code>__builtin_thread_pointer</code> and
+    <code>__builtin_set_thread_pointer</code>.  This assumes that
+    <code>GBR</code> is used to hold the thread pointer of the current thread,
+    which has been the case since a while already.  Memory loads and stores
+    relative to the address returned by <code>__builtin_thread_pointer</code>
+    will now also utilize <code>GBR</code> based displacement address modes.
+    </li>
+
   </ul>
 
 <h3 id="sparc">SPARC</h3>

Reply via email to