Gentoo Archives: gentoo-dev

From: "Philippe Lafoucrière" <lafou@×××××××.fr>
To: Tavis Ormandy <taviso@g.o>
Cc: Gentoo-dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] Script to test instruction set.
Date: Tue, 12 Aug 2003 14:26:07
Message-Id: 1060698365.2923.24.camel@biproc
In Reply to: [gentoo-dev] Script to test instruction set. by Tavis Ormandy
1 > $ ./analyse-x86 /bin/ls
2 > Checking vendor_id string...GenuineIntel
3 > Disassembling /bin/ls, please wait...
4 > i486: 0 i586: 0 ppro: 15 mmx: 0 sse: 8 sse2: 0
5 > /bin/ls will run on Pentium III (pentium3) or higher processor.
6
7
8 did you emerge binutils using these values ?
9 It may come from a stage install (i686)...
10
11 here is what I have :
12
13 sh analyse-x86 --vendor=amd /bin/ls
14 Checking vendor_id string...amd
15 Disassembling /bin/ls, please wait...
16 i486: 0 i586: 0 mmx: 0 sse: 0 3dnow: 0 ext3dnow: 0
17 /bin/ls will run on Pentium Pro (i686 or pentiumpro) or higher processor
18
19
20 and with apache2 :
21
22 sh analyse-x86 --vendor=amd /usr/sbin/apache2
23 Checking vendor_id string...amd
24 Disassembling /usr/sbin/apache2, please wait...
25 i486: 0 i586: 0 mmx: 0 sse: 0 3dnow: 0 ext3dnow: 0
26 /usr/sbin/apache2 will run on 80386 or compatible (i386) or higher
27 processor.
28
29 (my settings :
30 CHOST="i686-pc-linux-gnu"
31 CFLAGS="-march=athlon-mp -O3 -pipe"
32 CXXFLAGS="${CFLAGS}"
33 )
34
35
36
37 --
38 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Script to test instruction set. Tavis Ormandy <taviso@g.o>