From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FyWTR-0005Bh-L6 for garchives@archives.gentoo.org; Thu, 06 Jul 2006 16:13:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k66GAiBt026287; Thu, 6 Jul 2006 16:10:44 GMT Received: from smtp8.libero.it (smtp8.libero.it [193.70.192.92]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k66G2uMg001322 for ; Thu, 6 Jul 2006 16:02:56 GMT Received: from localhost (172.16.1.48) by smtp8.libero.it (7.0.027-DD01) id 4464C6270508836A for gentoo-dev@lists.gentoo.org; Thu, 6 Jul 2006 18:02:56 +0200 Received: from smtp0.libero.it ([172.16.1.204]) by localhost (asav8.libero.it [193.70.193.94]) (amavisd-new, port 10024) with ESMTP id 15959-06-3 for ; Thu, 6 Jul 2006 18:02:56 +0200 (CEST) Received: from [192.168.0.6] (adsl-ull-62-62.44-151.net24.it [151.44.62.62]) by smtp0.libero.it (Postfix) with ESMTP id 0D4DB333881 for ; Thu, 6 Jul 2006 18:02:55 +0200 (MEST) Message-ID: <44AD3428.9090909@gentoo.org> Date: Thu, 06 Jul 2006 18:02:48 +0200 From: Luca Barbato User-Agent: Thunderbird 1.5.0.4 (X11/20060603) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Replacing cpu-feature USE flags References: <200607061252.33028@enterprise.flameeyes.is-a-geek.org> In-Reply-To: <200607061252.33028@enterprise.flameeyes.is-a-geek.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 X-Scanned: with antispam and antivirus automated system at libero.it Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k66GAiDj026287 X-Archives-Salt: 22b80298-e7fb-4c26-8c67-aaf7c2be049b X-Archives-Hash: 1f8659f0ece3ec83f7118e0acb303f50 Diego 'Flameeyes' Petten=C3=B2 wrote: > So, I've been drafting this up in my blog[1], and it is a simple way to= =20 > replace the CPU feature useflags. My counterproposal: - keep the useflags - add an eclass with the guessing logic from gcc - add an useflag to let people decide the priority between gcc decisions or useflag decisions. So: - don't have to wait for per package cflags - have the hopefully best results if you don't really care (gcc guess) - if you care do whatever you want, eg: turn cflags for vector units AND autovectorized and shut down hand vectorized code (yes it could be dump if the handmade stuff isn't wrong) Sounds fair or I'm missing something? --=20 Luca Barbato Gentoo/linux Gentoo/PPC http://dev.gentoo.org/~lu_zero --=20 gentoo-dev@gentoo.org mailing list