Gentoo Archives: gentoo-dev

From: Ryan Hill <dirtyepic@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: CPU use flag detection
Date: Sat, 18 May 2013 04:29:29
Message-Id: 20130517223923.1ea9acbd@caribou.gateway.2wire.net
In Reply to: [gentoo-dev] CPU use flag detection by yac
1 On Wed, 15 May 2013 16:59:57 +0200
2 yac <yac@g.o> wrote:
3
4 > Hi,
5 >
6 > I was recently investigating what cpu flags do I have and how does it
7 > work. I have put what I have so far at [1].
8 >
9 > So I thought I let you know in case someone wants to chip in.
10 >
11 > [1] https://github.com/yaccz/cufd
12
13 I've seen gcc -Q --help=target giving false results before due to the way that
14 options are parsed and some flags that set other flags not getting processed on
15 the --help code path. The second option you list is better.
16
17 -native doesn't set 3dnow, mmx, sse, sse2, sse3, ssse3 or sse4a. I'm guessing
18 they're just handed through the -march setting.
19
20 sys-apps/cpuid is awesome.
21
22 MMX2/MMXEXT still confuses me.
23
24
25 --
26 Ryan Hill psn: dirtyepic_sk
27 gcc-porting/toolchain/wxwidgets @ gentoo.org
28
29 47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Re: CPU use flag detection Matt Turner <mattst88@g.o>