Gentoo Archives: gentoo-dev

From: Mark Gordon <mark.gt@×××××××××××××××.uk>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] auto selection of optimal gcc architecture settings
Date: Mon, 28 Apr 2003 13:30:49
Message-Id: 20030428143032.653b2421.mark.gt@flash-gordon.me.uk
In Reply to: [gentoo-dev] auto selection of optimal gcc architecture settings by Padraig Brady
1 On Mon, 28 Apr 2003 10:18:54 +0100
2 Padraig Brady <padraig.brady@××××××.com> wrote:
3
4 > Eric Ball wrote:
5 > > On Sat, 26 Apr 2003 12:57 am, Padraig Brady wrote:
6 > >
7 > >>Hi,
8 > >>
9 > >>I've been testing http://www.pixelbeat.org/scripts/gcccpuopt
10 > >>over the last while with good results. Essentially it's
11 > >>a Linux specific script that only helps on x86 at present
12 > >>but can be updated to other architectures easily.
13 > >>
14 > >>It would be beneficial IMHO for gentoo to run it at
15 > >>installation time and update /etc/make.conf appropriately?
16 > >>
17 > >>thanks,
18 > >>Pádraig.
19 > >
20 > > It seems nifty.
21 > > I'd recommend you submit it in Bugzilla at bugs.gentoo.org or in the
22 > >
23 > > gentoo-dev list as the powers-that-be might not read this list.
24
25 It needs extending even for the x86 compatible world.
26
27 markg@brenda markg $ ./gcccpuopt
28 -march=pentium2 -mmmx
29 markg@brenda markg $ cat /proc/cpuinfo
30 processor : 0
31 vendor_id : GenuineTMx86
32 cpu family : 6
33 model : 4
34 model name : Transmeta(tm) Crusoe(tm) Processor TM5600
35 stepping : 3
36 cpu MHz : 661.674
37 cache size : 512 KB
38 fdiv_bug : no
39 hlt_bug : no
40 f00f_bug : no
41 coma_bug : no
42 fpu : yes
43 fpu_exception : yes
44 cpuid level : 1
45 wp : yes
46 flags : fpu vme de pse tsc msr cx8 sep cmov mmx longrun lrti
47 bogomips : 1307.44
48
49 As far as I'm aware the Crusoe emulates a Pentium, not a PII (I've not
50 seen anything definitive stating otherwise). If someone can confirm that
51 I'm wrong or tell me a safe way to test then I'll investigate further.
52
53 Any other strange processors out there that might have problems?
54 --
55 Mark Gordon
56 Paid to be a Geek & a Senior Software Developer
57 Currently looking for a new job commutable from Slough, Berks, U.K.
58 Although my email address says spamtrap, it is real and I read it.
59
60 --
61 gentoo-dev@g.o mailing list

Replies