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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 28 Jun 2001 20:42:09 +0100 (BST)


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