diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-10-02 07:51:48 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-10-02 07:51:57 -0700 |
commit | a1ccc0654b4e858022bed10f4fb5d5ab6df58b62 (patch) | |
tree | 37f5fec387b51763513493cd5149b71589f77dab /sysdeps/unix/sysv/linux/fd_to_filename.h | |
parent | 0b727ed4d605d9318cb0d323c88abb0d5a441a9b (diff) | |
download | glibc-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 'sysdeps/unix/sysv/linux/fd_to_filename.h')
0 files changed, 0 insertions, 0 deletions