Petr Salinger, le Thu 05 Jan 2006 09:22:29 +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. > > This is still more then single variable ...
Well, that's what I call "single variable accesses" :)