[LLVMdev] Register variables

Tom Primožič tom.primozic at gmail.com
Fri Feb 6 15:46:00 PST 2009


> Wouldn't a thread-local global variable solve your problem?
>
> Best regards,
> --Edwin

Are thread-local variables supported on all platforms? If so, than
probably yes... both the pointers would probably be kept in the
processor cache, which would speed-wise probably be comparable (will
it be?) with keeping variables in the registers.


 - Tom Primožič
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090207/3cc45992/attachment.html>


More information about the llvm-dev mailing list