Hi,
I suggest to start with small test to check the code produced by MS for thread local variables. Knowing MS I will not be very surprised if it's already well tuned code which does not call internally TlsGetValue() at all so there is not place for noticeable improvement. I think that we need Mindaugas help here. In the past he checked code generated by BCC and created ASM inline macros for BCC builds. The MinGW inline ASM function I added later is only translation of initial Mindaugas code. Mindaugas any chance that you can check the code generated by MSVC which access thread local variables for wi...@32 and Win64?
I do not have any Win64 disassembler, but I think I can do some reverse engineering by hand (and brain) :)
Regards, Mindaugas _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour