summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/clone.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-21 09:35:55 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-21 09:35:55 +0000
commitdc88639c994305f50e76a0359103a8c89667fb51 (patch)
tree0f9353a54651ab18a7665a4c5a6a9129f9920860 /sysdeps/unix/sysv/linux/i386/clone.S
parent53ad957e4fe769aa487145a389d796129fc81bbc (diff)
Update.
* sysdeps/unix/sysv/linux/i386/clone.S: Micro-optimization.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/i386/clone.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/clone.S b/sysdeps/unix/sysv/linux/i386/clone.S
index d654d98c7a..9b0284b661 100644
--- a/sysdeps/unix/sysv/linux/i386/clone.S
+++ b/sysdeps/unix/sysv/linux/i386/clone.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@tamu.edu)
@@ -32,11 +32,9 @@ ENTRY(__clone)
/* Sanity check arguments. */
movl $-EINVAL,%eax
movl 4(%esp),%ecx /* no NULL function pointers */
- testl %ecx,%ecx
- jz SYSCALL_ERROR_LABEL
+ jecxz SYSCALL_ERROR_LABEL
movl 8(%esp),%ecx /* no NULL stack pointers */
- testl %ecx,%ecx
- jz SYSCALL_ERROR_LABEL
+ jecxz SYSCALL_ERROR_LABEL
/* Insert the argument onto the new stack. */
subl $8,%ecx