Gentoo Archives: gentoo-dev

From: "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Replacing cpu-feature USE flags
Date: Fri, 07 Jul 2006 00:24:25
Message-Id: 200607070211.54587@enterprise.flameeyes.is-a-geek.org
In Reply to: Re: [gentoo-dev] Replacing cpu-feature USE flags by Luca Barbato
1 On Friday 07 July 2006 02:01, Luca Barbato wrote:
2 > Using a proper profile and not hardwire useflags to use amd64 is a
3 > solution too.
4 Yes it is, I would more likely see that than adding even more useflags to
5 profiles.
6
7 > > So using -march=i586 with mmx useflag wouldn't work anymore.
8 > ...I don't see why not since gas is supposed to accepth -m* flags
9 > related (see man as)
10 Uh, -march=i586 will tell gas to accept only instructions present on i586,
11 even if they come out of inline asm.
12 If the inline asm is MMX, gas refuses to produce code.
13
14 It would only work with nasm sources.
15
16 > but isn't the only way and as I told you already I'd rather have stuff
17 > properly set in profiles specific even if I like the idea of being able
18 > to check for compiler support.
19 Yes, you told me, and this is why we're not here discussing that. I told you
20 want I think of the idea, I don't dislike it although I find it (thinking as
21 it is now) a bit more complex.
22 I'm waiting to see a sample implementation tho, as that is what we should base
23 on.
24
25 --
26 Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
27 Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

Replies

Subject Author
Re: [gentoo-dev] Replacing cpu-feature USE flags Luca Barbato <lu_zero@g.o>