Re: PROBLEM:Illegal instruction when mount nfs file systems using

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Jun 28 2001 - 14:42:09 EST


> > Intel specifically state that you cannot use CMOV without checking
> > for it. Its actually a gcc/binutils tool bug. The CPU is right.
>
> How is that a gcc bug? You tell the compiler to generate cmov, you run
> it on a CPU that doesn't have it, you get what you deserve. There's
> really nothing the tools can do about that.

I tell gcc to buld for the 'i686' architecture definition. It in fact builds
for the i686 architecture assuming an optional feature. Intel's own PPro doc
is quite explicit that cmov could go away again in future chips.

So cmov should not have been in the 686 machine definition.

Alan

-
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/



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:20 EST