From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16496 invoked by alias); 23 Jun 2011 23:20:45 -0000 Received: (qmail 16487 invoked by uid 22791); 23 Jun 2011 23:20:45 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_AV,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Jun 2011 23:20:31 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id A30949AC697; Fri, 24 Jun 2011 01:20:29 +0200 (CEST) Date: Fri, 24 Jun 2011 00:14:00 -0000 From: Jan Hubicka To: "Fang, Changpeng" Cc: Uros Bizjak , "gcc-patches@gcc.gnu.org" , "hubicka@ucw.cz" , "rguenther@suse.de" Subject: Re: [PATCH, i386] Enable -mprefer-avx128 by default for Bulldozer Message-ID: <20110623232029.GC3783@kam.mff.cuni.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01836.txt.bz2 Hi, > --- a/gcc/config/i386/i386.c > +++ b/gcc/config/i386/i386.c > @@ -2128,6 +2128,9 @@ static const unsigned int x86_avx256_split_unaligned_load > static const unsigned int x86_avx256_split_unaligned_store > = m_COREI7 | m_BDVER1 | m_GENERIC; > > +static const unsigned int x86_prefer_avx128 > + = m_BDVER1; What is reason for stuff like this to not go into initial_ix86_tune_features? I sort of liked them better when they was individual flags, but having the target tunning flags spread across multiple places seems unnecesary. Honza