Re: [Q] Looking for an emulation for CMOV* instructions.

Pavel Machek (pavel@suse.cz)
Sat, 12 Jan 2002 06:31:36 +0000


Hi!

> > The kernel isnt there to fix up the fact authors can't read. Its also very
> > hard to get emulations right. I grant that this wasn't helped by the fact
> > the gcc x86 folks also couldnt read the pentium pro manual correctly.
>
> One corner case where emulation would IMHO make sense would be CMPXCHG8.
> It would allow to do efficient inline mutexes in pthreads, and hit the
> emulation only on 386/486. cpu feature flag checking is unfortunately
> not an option normally for inline code.
>
> -Andi (who would have already done it if he had an 486/386 to test)

Do you want one? I have elonex, which is 486sx, small and quiet (needs
NFS root). But I'd want it back eventually. Or I might be able to get
you some 386...
Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

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