Hi people, I'm porting a project, which uses TLS in performance-critical code. I currently use mingw-w64 (i686-4.9.1-posix-dwarf-rt_v3-rev0) on Win 7 SP1 Professional x86 and libgcc_s_dw2-1!__emutls_get_address is one of the hotspots in the product. Thus the question: why mingw-w64 generates calls to *emu*tls at all? Is there a way to use native Windows TLS API/ABI, would it be faster? Is it possible to generate the code, which would just use register-based indexing like on Linux?
Regards, Slava ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public