gcc/libitm
H.J. Lu 831698b8f7 Allocate memory on cache line if requested
Since GTM::gtm_thread has

gtm_thread *next_thread __attribute__((__aligned__(HW_CACHELINE_SIZE)));

GTM::gtm_thread::operator new () calls xmalloc with separate_cl == true.
xmalloc must return memory on cache line in this case.

	PR libitm/70456
	* util.cc (xmalloc): Use posix_memalign to allocate memory on
	on cache line if requested.

From-SVN: r235211
2016-04-19 10:01:11 -07:00
..
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2015-05-13 11:25:28 +00:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-22 16:13:06 +00:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-22 16:13:06 +00:00
2016-01-22 16:13:06 +00:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00