[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#328183: #328183: no-tls-direct-seg-refs



Petr Salinger, le Wed 04 Jan 2006 21:40:06 +0100, a écrit :
> 
> > will add a very little extra cost to single thread-specific variable
> > accesses, but it shouldn't be noticeable at all.
> 
> Well, to be correct, switch -mno-tls-direct-seg-refs
> add extra cost to ALL thread-specific variables accesses.

No, only to isolated ones. The compiler can cache gs:0 (and it will do
it anyway when -mno-tls-direct-seg-refs is not provided.

Regards,
Samuel



Reply to: