about summary refs log tree commit diff
path: root/include/string.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-10-02 07:51:48 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-10-02 07:51:57 -0700
commita1ccc0654b4e858022bed10f4fb5d5ab6df58b62 (patch)
tree37f5fec387b51763513493cd5149b71589f77dab /include/string.h
parent0b727ed4d605d9318cb0d323c88abb0d5a441a9b (diff)
downloadglibc-a1ccc0654b4e858022bed10f4fb5d5ab6df58b62.tar.gz
glibc-a1ccc0654b4e858022bed10f4fb5d5ab6df58b62.tar.xz
glibc-a1ccc0654b4e858022bed10f4fb5d5ab6df58b62.zip
x86: Use RTM intrinsics in pthread mutex lock elision
Since RTM intrinsics are supported in GCC 4.9, we can use them in
pthread mutex lock elision.

	* sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
	Add -mrtm.
	(CFLAGS-elision-unlock.c): Likewise.
	(CFLAGS-elision-timed.c): Likewise.
	(CFLAGS-elision-trylock.c): Likewise.
	* sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
Diffstat (limited to 'include/string.h')
0 files changed, 0 insertions, 0 deletions