>Having a real-world usage and motivation, it would be really great if >you were able to spend some time on improving winpthreads (maybe even >beating MSVC as is done with the math library :) ). Version 4 of >mingw-w64 is about to be released and such changes will therefore only >be in version 5 but that also means it's the right time to introduce >large changes (plus the time between major releases is getting much >smaller: 5 isn't that far away either).
May be this can candidate as a real world usage :-) https://github.com/official-stockfish/Stockfish/archive/be509525336b65419e708678abe4e16efb5f6f4d.zip You can download and compile it in a minute, then check the speed with: ./stockfish bench 128 4 15 > /dev/null Where '4' is the number of threads: you can set any value but I suggest to set the number of threads equal to your CPU physical cores number (not hyper-threaded ones). The bench will run for few seconds and report the speed in 'nodes per second' Without my ugly workaround described in previous posts, you can measure a 30% (!) slowdown in speed. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
