From patchwork Mon Oct 8 22:05:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [wwwdocs] SH 4.8 changes - document thread pointer built-ins From: Oleg Endo X-Patchwork-Id: 190156 Message-Id: <1349733920.21984.52.camel@yam-132-YW-E178-FTW> To: gcc-patches Date: Tue, 09 Oct 2012 00:05:20 +0200 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 -ffinite-math-only implicitly sets -mno-ieee. +
  • Added support for the built-in functions + __builtin_thread_pointer and + __builtin_set_thread_pointer. This assumes that + GBR 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 __builtin_thread_pointer + will now also utilize GBR based displacement address modes. +
  • +

    SPARC