On Tue, 9 Oct 2012, Oleg Endo wrote: > This documents the new thread pointer built-ins in the SH www changes > for 4.8.
Thanks, Oleg. I've got one change and one question: + <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. "since a while" -> "for a while", and I made that change. That said, why is this important, and is there a fixed date or version? + 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. Why do these _now_ utilize these address modes, when per the above __builtin_thread_pointer was just added? This last sentence implies a change when there does not seem to be one? Gerald