Re: i686 quirk for AMD Geode

From: Willy Tarreau
Date: Tue Nov 10 2009 - 17:10:30 EST


On Tue, Nov 10, 2009 at 11:01:26PM +0100, Matteo Croce wrote:
> On Tue, Nov 10, 2009 at 9:54 PM, Pavel Machek <pavel@xxxxxx> wrote:
> > Hi!
> >
> >> Indeed, but there is a difference between [cmpxchg, bswap, cmov, nopl]
> >> on one side and [sse*] on the other : distros are built assuming the
> >> former are always available while they are not always. And the
> >> distro
> >
> > Well, fix the distros...
>
> $ objdump -d libflashplayer.so |grep cmov -c
> 10

Good point !
Same here, only 2 of them won't work on C3 (the first ones) :

7e3a7c: 0f 4d 45 c8 cmovge -0x38(%ebp),%eax
7e3b4d: 0f 4d 45 c8 cmovge -0x38(%ebp),%eax
7e97b3: 0f 4c c2 cmovl %edx,%eax
7e9823: 0f 4c c2 cmovl %edx,%eax
7eb884: 0f 4c c2 cmovl %edx,%eax
7eb91d: 0f 4c c2 cmovl %edx,%eax
8095d7: 0f 42 ca cmovb %edx,%ecx
80997a: 0f 42 ca cmovb %edx,%ecx
809a4a: 0f 42 ca cmovb %edx,%ecx
80a5cb: 0f 42 ca cmovb %edx,%ecx

clearly worth emulating in my opinion.

Willy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/