Messages in this thread | | | Date | Fri, 17 Oct 2008 09:35:45 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86: add missed clobber for 32-bit memmove |
| |
Jike Song wrote: > memmove() is implemented by inline assembly. It calls std at first > and cld at last, but EFLAGS still should be clobbered.
gcc always treats EFLAGS as clobbered on x86. The "cc" clobber is needed on some platforms, but is a noop on x86.
-hpa
| |