RFC: TLS improvements for IA32 and AMD64/EM64T

Alexandre Oliva aoliva@redhat.com
Wed Feb 20 20:09:00 GMT 2008


On Oct 10, 2006, Alexandre Oliva <aoliva@redhat.com> wrote:

> On Feb  6, 2006, Alexandre Oliva <aoliva@redhat.com> wrote:
>> On Sep 22, 2005, Alexandre Oliva <aoliva@redhat.com> wrote:
>>> On Sep 17, 2005, Alexandre Oliva <aoliva@redhat.com> wrote:
>>>> On Sep 16, 2005, Alexandre Oliva <aoliva@redhat.com> wrote:
>>>>> On Sep 16, 2005, Alexandre Oliva <aoliva@redhat.com> wrote:
>>>>>> Over the past few months, I've been working on porting to IA32 and
>>>>>> AMD64/EM64T the interesting bits of the TLS design I came up with for
>>>>>> FR-V, achieving some impressive speedups along with slight code size
>>>>>> reductions in the most common cases.

>>>>>> Although the design is not set in stone yet, it's fully implemented
>>>>>> and functional with patches I'm about to post for binutils, gcc and
>>>>>> glibc mainline, as follow-ups to this message, except that the GCC
>>>>>> patch will go to gcc-patches, as expected.

>>>>> This is the glibc portion of the implementation.  I've built it for
>>>>> amd64-linux-gnu and i686-pc-linux-gnu, with both the current TLS
>>>>> dialect and the new -mtls-dialect=gnu2, without regressions.

>>>> Revised patch using new relocation and dynamic entry numbers.  Tested
>>>> again on all 4 combinations mentioned above.

Updated arranging for more code to be shared between x86 and x86_64
ports, and adding more comments.  Re-tested using a GCC 4.3-ish
compiler and binutils as in Fedora 8.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tlsdesc-3.patch
Type: text/x-patch
Size: 75906 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20080220/9400866a/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member         http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Libc-alpha mailing list