summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-18 00:00:50 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-18 00:00:50 +0000
commit1d53508d2c614ca42e93b26e4fd3d2560e92e6e1 (patch)
treea9792b6cb40511ae4d16b45ce40f2828acf9cc3e /nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
parentf23b30e23b93d55dfa6f11e8eaa7f0f9dd492d93 (diff)
Update.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_mutex_lock): Add ax to clobber list. (lll_mutex_cond_lock): Likewise. (lll_mutex_unlock): Likewise. (lll_lock): Likewise. (lll_unlock): Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
index 4dfbf4bb45..1f1e7dd1a9 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
@@ -100,7 +100,7 @@ extern int __lll_mutex_unlock_wait (int *__futex) attribute_hidden;
"2:" \
: "=S" (ignore1), "=&D" (ignore2), "=m" (futex) \
: "0" (1), "2" (futex) \
- : "cx", "r11", "cc", "memory"); })
+ : "ax", "cx", "r11", "cc", "memory"); })
#define lll_mutex_cond_lock(futex) \
@@ -118,7 +118,7 @@ extern int __lll_mutex_unlock_wait (int *__futex) attribute_hidden;
"2:" \
: "=S" (ignore1), "=&D" (ignore2), "=m" (futex) \
: "0" (2), "2" (futex) \
- : "cx", "r11", "cc", "memory"); })
+ : "ax", "cx", "r11", "cc", "memory"); })
#define lll_mutex_timedlock(futex, timeout) \
@@ -156,7 +156,7 @@ extern int __lll_mutex_unlock_wait (int *__futex) attribute_hidden;
"2:" \
: "=m" (futex), "=&D" (ignore) \
: "0" (futex) \
- : "cx", "r11", "cc", "memory"); })
+ : "ax", "cx", "r11", "cc", "memory"); })
#define lll_mutex_islocked(futex) \
@@ -209,7 +209,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
"2:" \
: "=S" (ignore1), "=&D" (ignore2), "=m" (futex) \
: "0" (-1), "2" (futex) \
- : "cx", "r11", "cc", "memory"); })
+ : "ax", "cx", "r11", "cc", "memory"); })
# define lll_unlock(futex) \
@@ -226,7 +226,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
"2:" \
: "=m" (futex), "=&D" (ignore) \
: "0" (futex) \
- : "cx", "r11", "cc", "memory"); })
+ : "ax", "cx", "r11", "cc", "memory"); })
#else
/* Special versions of the macros for use in libc itself. They avoid
the lock prefix when the thread library is not used.
@@ -262,7 +262,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
"2:" \
: "=S" (ignore1), "=&D" (ignore2), "=m" (futex) \
: "0" (-1), "2" (futex) \
- : "cx", "r11", "cc", "memory"); })
+ : "ax", "cx", "r11", "cc", "memory"); })
# define lll_unlock(futex) \
@@ -282,7 +282,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
"2:" \
: "=m" (futex), "=&D" (ignore) \
: "0" (futex) \
- : "cx", "r11", "cc", "memory"); })
+ : "ax", "cx", "r11", "cc", "memory"); })
#endif