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

Ronald Wahl (Ronald.Wahl@informatik.tu-chemnitz.de)
11 Jan 2002 21:05:17 +0100


On Fri, 11 Jan 2002 20:59:45 +0100, Hans-Peter Jansen wrote:

> On Friday, 11. January 2002 00:28, Alan Cox wrote:
>> > is it possible to include an emulation for the CMOV* (and possible other
>> > i686 instructions) for processors that dont have these (k6, pentium
>> > etc.)? I think this should work like the fpu emulation. Even if its slow
>>
>> 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.

> But it shouldn't crash, if the wrong architecture is chosen. (Different
> problem, I know) Perfect solution would be emulate them all, but at least
> an simple error message (please eject CPU, and put in a XXX one) would be
> sufficient, IMHO.

A message occurs already: "Illegal instruction". But this is not
really a help.

ron

-- 
/\/\  Dipl.-Inf. Ronald Wahl                /\/\        C S N         /\/\
\/\/  ronald.wahl@informatik.tu-chemnitz.de \/\/  ------------------  \/\/
/\/\  http://www.tu-chemnitz.de/~row/       /\/\  network and system  /\/\
\/\/  GnuPG/PGP key available               \/\/    administration    \/\/
-
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/