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
..
config
testsuite
aatree.cc
aatree.h
acinclude.m4
aclocal.m4
alloc_c.cc
alloc_cpp.cc
alloc.cc
barrier.cc
beginend.cc
ChangeLog
clone.cc
common.h
config.h.in
configure
configure.ac
configure.tgt
containers.h
dispatch.h
eh_cpp.cc
libitm_i.h
libitm.h
libitm.map
libitm.spec.in
libitm.texi
local_atomic
local.cc
Makefile.am
Makefile.in
method-gl.cc
method-ml.cc
method-serial.cc
query.cc
retry.cc
useraction.cc
util.cc