Diego 'Flameeyes' Pettenò wrote: [summary:provide a way to enable simd features by extracting them from the ones supported by the cflags selected and the compiler]
Pros: - automagic : you just carefully select your cflags and your apps will have all the simd goodness you may dream/want/expect. - less useflags around - simpler life when building stages (given we gut cpuinfo checks in configures) Cons: - assumes gcc - per ebuild cflags feat isn't ready yet - makes less simple to have certain corner case Alternatives: - as PPC we provide a default cflags & use tuned per certain cpu families using profiles, amd64 could provide a nocona profile that bans 3dnow* useflags. - have simdflags as use_expand to keep them on a single place and improve the description - as before but provide an eclass that uses flameeyes infrastructure to warn about possible mismatch between what the cflags could do and what you expect to obtain eg: -mcpu=nocona use 3dnow would issue a warning and disable it - as the one before again but with a var to decide if follow the use or the gcc check. lu -- Luca Barbato Gentoo/linux Gentoo/PPC http://dev.gentoo.org/~lu_zero -- gentoo-dev@gentoo.org mailing list