1 |
On Thu, 2006-07-06 at 13:19 +0100, Ciaran McCreesh wrote: |
2 |
> On Thu, 6 Jul 2006 12:52:29 +0200 "Diego 'Flameeyes' Pettenò" |
3 |
> <flameeyes@g.o> wrote: |
4 |
> | Right now we have mmx, 3dnow, 3dnowex, sse, sse2 and so on useflags |
5 |
> | present in the tree, almost never used to get new dependencies, but |
6 |
> | usually used to supply econf switches. |
7 |
> | |
8 |
> | This works as long as the user enable the flags, but for AMD64 the |
9 |
> | story was, until now, that we simply enabled them when they worked, |
10 |
> | because we had some minimum support available. Unfortunately this |
11 |
> | became a problem with the introduction of nocona, because that is an |
12 |
> | amd64-like system but with no 3dnow. And there is the problem that |
13 |
> | sse3 is supported only in later versions of Athlon64 and so on. |
14 |
> |
15 |
> The other option here... Is to rename the x86 flags to x86_mmx, |
16 |
> x86_3dnow etc, and use amd64_sse3 for amd64 flags, since they're not |
17 |
> really the same as the x86 flags. |
18 |
> |
19 |
|
20 |
|
21 |
> There's probably some USE_EXPAND trickery that can be used here... |
22 |
> CPU_FEATURE_X86="mmx sse" -> cpu_feature_x86_mmx etc might be cleaner? |
23 |
|
24 |
I tend to agree this might be a cleaner approach vs having to edit & |
25 |
redit CFLAGS all over the place. |
26 |
|
27 |
|
28 |
-- |
29 |
Ned Ludd <solar@g.o> |
30 |
Gentoo Linux |
31 |
|
32 |
-- |
33 |
gentoo-dev@g.o mailing list |