kristina added a comment.

By the way, out of curiosity is this for anything specific (alternative libc or 
some user-mode-scheduling implementation)? Not nitpicking, just curious since 
it's an interesting topic in general and it's frustrating that the architecture 
is so limited in terms of registers that can be used for TLS/related data 
unlike newer ARM/ARM64 architectures.

Also FWIW `%gs` is generally free to use under x86_64 Linux which is where I 
usually place my thread control blocks which doesn't interfere with libc which 
uses `%fs`. (Just started build/test job, waiting on that for now)


https://reviews.llvm.org/D53102



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to