[BUG mm] "fixed" i386 memcpy inlining buggy
Denis Vlasenko
vda@port.imtp.ilyichevsk.odessa.ua
Wed Apr 6 16:12:00 GMT 2005
On Tuesday 05 April 2005 19:34, Christophe Saout wrote:
> the new i386 memcpy macro is a ticking timebomb.
>
> I've been debugging a new mISDN crash, just to find out that a memcpy
> was not inlined correctly.
>
> Andrew, you should drop the fix-i386-memcpy.patch (or have it fixed).
Updated patch against 2.6.11 follows. This one, like the original
patch, is run tested too.
This time I took no chances, esi/edi contents are
explicitly propagated from one asm() block to another.
I didn't do it before, not expecting that gcc can be
soooo incredibly clever. Sorry.
Christophe does this one look/compile ok?
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: string2.h.diff
Type: text/x-diff
Size: 3288 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050406/892c2a3e/attachment.bin>
More information about the Gcc
mailing list