gcc/libgomp/config
Andrew Stubbs cee1645106 Optimize GCN OpenMP malloc performance
2019-11-13  Andrew Stubbs  <ams@codesourcery.com>

	libgomp/
	* config/gcn/team.c (gomp_gcn_enter_kernel): Set up the team arena
	and use team_malloc variants.
	(gomp_gcn_exit_kernel): Use team_free.
	* libgomp.h (TEAM_ARENA_SIZE): Define.
	(TEAM_ARENA_START): Define.
	(TEAM_ARENA_FREE): Define.
	(TEAM_ARENA_END): Define.
	(team_malloc): New function.
	(team_malloc_cleared): New function.
	(team_free): New function.
	* team.c (gomp_new_team): Initialize and use team_malloc.
	(free_team): Use team_free.
	(gomp_free_thread): Use team_free.
	(gomp_pause_host): Use team_free.
	* work.c (gomp_init_work_share): Use team_malloc.
	(gomp_fini_work_share): Use team_free.

From-SVN: r278136
2019-11-13 12:38:09 +00:00
..
accel GCN libgomp port 2019-11-13 12:38:04 +00:00
bsd Update copyright years. 2019-01-01 13:31:55 +01:00
darwin Update copyright years. 2019-01-01 13:31:55 +01:00
gcn Optimize GCN OpenMP malloc performance 2019-11-13 12:38:09 +00:00
hpux Update copyright years. 2019-01-01 13:31:55 +01:00
linux Update copyright years. 2019-01-01 13:31:55 +01:00
mingw32 Update copyright years. 2019-01-01 13:31:55 +01:00
nvptx Move generic libgomp files from nvptx to accel 2019-11-13 12:37:50 +00:00
posix Update copyright years. 2019-01-01 13:31:55 +01:00
rtems libgomp: Reduce copy and paste for RTEMS 2019-01-09 06:16:05 +00:00