On Mon, Mar 22, 2010 at 10:09:40AM -0700, Richard Henderson wrote:
On 03/22/2010 09:01 AM, Aldy Hernandez wrote:
+/* Define sys_futex0_wait if backend's wait syscall is different than
+ the wake. See x86_64 for an example. */
+#ifndef sys_futex0_wait
+#define sys_futex0_wait sys_futex0
+#endif
Not ok. All targets have the same arguments.
I don't get it. How am I changing the number of arguments passed to
sys_futex0?
Do you want me to set r10 to 0 both for the x86-64 futex_wait and for
the futex_wake? On libgomp/config/linux/x86/futex.h we set r10 only for
the futex_wait variant.
Confused.
Aldy