[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48F8BEE1.1010000@zytor.com>
Date: Fri, 17 Oct 2008 09:35:45 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Jike Song <albcamus@...il.com>
CC: linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists