This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/61333] potential target specific performance issue with libgomp
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 May 2014 10:10:21 +0000
- Subject: [Bug libgomp/61333] potential target specific performance issue with libgomp
- Auto-submitted: auto-generated
- References: <bug-61333-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61333
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, libgomp is optimized for Linux futexes, it has bare support for other
targets, so unless somebody steps up and submits and maintains a port for other
OSes, those will keep using pthread_* APIs with no particular performance work.
So, if you want to do any benchmarking, do it on Linux, not on darwin.
Also, benchmarking -O0 code is weird.
The benchmark looks prehistoric too, even OpenMP 3.1 has min/max reductions.