On Friday 03 June 2005 10:20, P at draigBrady.com wrote:
> The last (surprisingly popular) script was released
> 2 years ago. I've just updated it to support a more general
> method for flag detection and all the latest CPU
> flags that have been added to gcc recently:
>>http://www.pixelbeat.org/scripts/gcccpuopt>> --
> Pádraig Brady - http://www.pixelbeat.org> --- Following generated by rotagator ---
>> Redraw/Clear text console
>> If your console application is messed up
> (with wall messages for e.g.) a Ctrl-L will
> cause a redraw.
> --
bash-2.05b$ ./gcccpuopt
-march= -mfpmath=sse
on a pentium-m
not what i had expected
--
Simon
------------------------------------------------------
bash-2.05b$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 2.00GHz
stepping : 6
cpu MHz : 1993.755
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat
clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
bogomips : 3956.73
bash-2.05b$ gcc --version
gcc (GCC) 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!