Re: MMX emulator ?

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Wed, 17 Jun 1998 21:27:09 +0200


Hi!

> I don't think the MMX emulator would exclude the programmer from
> checking the capabilities of the CPU and deciding NOT to use the
> emulator. This way people who want to write MMX enabled code get
> their way, people who want performance on an MMX and non-MMX machine
> get their way and "lazy programmers" get their way, it doesn't force
> people to do anything they don't want to do. ...and you NEVER get a
> program that says it works only on an MMX machine which will decrease
> the ``wine'' factor from users.

Ok: So if you are lazy programmer, write nice, new library to do MMX
emulation for yourself. (It probably can be done in userspace). If you
want max performance, you might want to do it in kernel. We'll be glad
to talk about it when it is ready.

Pavel

PS: Still, it might be nice as some toy project on school or so.

[Note that you'll need to update FPU registers after each operation.]

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu