Re: Why does C3 CPU downgrade in kernel 2.4.20?

Joseph (jospehchan@yahoo.com.tw)
Fri, 13 Dec 2002 14:55:04 +0800


>>On Thu, Dec 12, 2002 at 05:17:29PM +0800, Joseph wrote:
>> Thanks for all response. :)
>> I think I know more why it downgrades.
>> But one more curious question.
>> In the file, arch/i386/Makefile, under kernel 2.5.51.
>> I found the C3 alignments , $(call check_gcc, -march=c3,-march=i486).
>> Does the C3 CPU type be included in gcc compile option??
>> I've downloaded the latest gcc 3.2.1 version.
>> But I don't find the c3 options in the file gcc/config/i396/i386.c,
i386.h
>> or etc.

>Not in a currently released gcc. CVS HEAD supports it, as will 3.3
>Dave

I've checked the gcc CVS. But it seems to use i486 pluse MMX and 3DNOW
instructions.
* config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
* config/i386/i386.c (processor_alias_table): Add winchip-c6, winchip2 and
c3.
* doc/invoke.texi: Mention new aliases.
** {"c3", PROCESSOR_I486, PTA_MMX | PTA_3DNOW}, **
Is there any plan to optimize for C3 CPU in future gcc released version?
BR,
Joseph

-----------------------------------------------------------------
< ¨C¤Ñ³£ Yahoo!©_¼¯ > www.yahoo.com.tw
-
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/