lkml.org 
[lkml]   [2000]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.0-test9 + Winchip2/2A processor family == hang on boot
On Wed, 11 Oct 2000, Frank de Lange wrote:

>Solved the problem with Winchip not booting. It turns out they do not like the
>code generated by gcc (gcc version 2.95.2 19991024 (release)) when the
>-march=i686 flag is set. Changing this flag to -march=i586 makes to box boot
>like it should.

That makes sense. The WinChip C6/2/3 processors were designed to
be compatible with the Intel Pentium and Pentium MMX processors.
They are _not_ compatible with P6 cores at the application level;
in particular, they do not have the conditional move instructions.

"-march=i686" permits gcc to use i686-specific instructions. Seriously
uncool if the processor doesn't have them.

I don't know if WinChips benefit from i686-like scheduling heuristics,
but perhaps "-mcpu=i686" would be appropriate for the Makefile
(i.e. use the i386 instruction set but schedule etc. as for an i686).

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

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.020 / U:2.220 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site