1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-10 00:49:40 +03:00
Files
glibc/sysdeps/unix/sysv/linux
Stefan Liebler 53c5c3d5ac S390: Use new __libc_tbegin_retry macro in elision-lock.c.
This patch implements __libc_tbegin_retry macro which is equivalent to
gcc builtin __builtin_tbegin_retry, except the changes which were applied
to __libc_tbegin in the previous patch.

If tbegin aborts with _HTM_TBEGIN_TRANSIENT.  Then this macros restores
the fpc, fprs and automatically retries up to retry_cnt tbegins.
Further saving of the state is omitted as it is already saved in the
first round.  Before retrying a further transaction, the
transaction-abort-assist instruction is used to support the cpu.

This macro is now used in function __lll_lock_elision.

ChangeLog:

	* sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
	* sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
	Use __libc_tbegin_retry macro.
2016-12-20 15:12:48 +01:00
..
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-04-27 09:08:29 +02:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-07 09:35:07 +01:00
2016-12-20 00:46:53 +00:00
2016-11-24 19:38:51 -02:00
2016-11-21 08:23:12 -08:00
2016-11-21 08:23:12 -08:00
2016-03-22 00:32:20 +00:00
2016-04-11 10:27:25 +02:00
2016-11-21 08:23:12 -08:00
2016-03-15 21:11:07 +00:00
2016-11-24 19:38:51 -02:00
2016-11-24 19:38:51 -02:00
2016-11-24 19:38:51 -02:00
2016-03-21 16:30:05 +00:00
2016-11-24 19:38:51 -02:00
2016-04-14 08:54:57 +02:00
2016-11-21 08:23:12 -08:00
2016-11-21 08:23:12 -08:00