Re: thread_local performance using g++ for cygwin

2019-05-06 Thread Brian Inglis
On 2019-05-06 01:09, Arthur Norman wrote: > The attached code tried two loops each of which just calls a function that > increments an integer variable. One loop is a simple variable, the other has > the > thread_local qualifier. I put in ugly annotations to prevent g++ from inlining > the functio

thread_local performance using g++ for cygwin

2019-05-06 Thread Arthur Norman
The attached code tried two loops each of which just calls a function that increments an integer variable. One loop is a simple variable, the other has the thread_local qualifier. I put in ugly annotations to prevent g++ from inlining the functions even though I compile with -O3, but in real ca