Subject: Re: cpuflags and pentium M
To: Ja'far Railton <zen25058@zen.co.uk>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: port-i386
Date: 04/24/2005 18:11:17
On Sun, 2005-04-24 at 14:18 +0307, Ja'far Railton wrote:
> Gs
> 
> Running cpuflags outputs "-march= pentiumpro. 
> 
> Is this the correct flag for a Pentium M?

Which version of cpuflags? Mine doesn't try to build for pentiumpro:

jmcneill@bucky:/export/home/jmcneill > pkg_info | grep cpuflags
cpuflags-0.80       Determine compiler flags to best target current cpu
jmcneill@bucky:/export/home/jmcneill > grep ^cpu /var/run/dmesg.boot
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Banias) (686-class), 1395.52 MHz, id 0x695
cpu0: features a7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR>
cpu0: features a7e9f9bf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features a7e9f9bf<FXSR,SSE,SSE2,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1400MHz"
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep running at 1400 MHz (1484 mV)
cpu0: Enhanced SpeedStep frequencies available (MHz): 1400 1200 1000 800
600
jmcneill@bucky:/export/home/jmcneill > cpuflags
-march=pentium3

Cheers,
Jared