aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
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 /ChangeLog
parent0b727ed4d605d9318cb0d323c88abb0d5a441a9b (diff)
downloadtermbaud-a1ccc0654b4e858022bed10f4fb5d5ab6df58b62.tar.gz
termbaud-a1ccc0654b4e858022bed10f4fb5d5ab6df58b62.tar.xz
termbaud-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 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d0f7f519297..11706198471 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * 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.
+
2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #21037]