This is the mail archive of the
mailing list for the glibc project.
Why is cld used?
- From: "H. J. Lu" <hjl at lucon dot org>
- To: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Mon, 30 Jun 2003 17:41:50 -0700
- Subject: Why is cld used?
According to the i386 psABI, the direct flag should be set to zero
before entry and upon exit from a function, why does glibc use
"cld" in some functions where the direct flag won't be changed?
One example is sysdeps/i386/i686/mempcpy.S.