lkml.org 
[lkml]   [2008]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-10-17 18:39    [from the cache]
©2003-2011 Jasper Spaans