From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13241 invoked by alias); 26 Apr 2004 21:10:59 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 13226 invoked from network); 26 Apr 2004 21:10:57 -0000 Received: from unknown (HELO biscayne-one-station.mit.edu) (18.7.7.80) by sources.redhat.com with SMTP; 26 Apr 2004 21:10:57 -0000 Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id i3QLAve7010603; Mon, 26 Apr 2004 17:10:57 -0400 (EDT) Received: from mit.edu (dodgy.csail.mit.edu [128.30.64.52]) (authenticated bits=0) (User authenticated as mstephen@ATHENA.MIT.EDU) by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id i3QLAsAe015795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 26 Apr 2004 17:10:55 -0400 (EDT) Message-ID: <408D7AE1.50000@mit.edu> Date: Mon, 26 Apr 2004 21:41:00 -0000 From: Mark Stephenson User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) MIME-Version: 1.0 To: gcc@gcc.gnu.org, fortran@gnu.org Subject: -fmove-all-movables and -freduce-all-givs Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg01222.txt.bz2 Sorry to bother you, I'm currently researching how machine learning algorithms can be employed to discover effective compiler heuristics. I see from your online documentation that -fmove-all-movables and -freduce-all-givs can sometimes generate slower code. These optimizations seem like prime candidates for machine learning because the tradeoffs are not clear (in my mind it seems like the optimizations should always yield speedups). Can you please let me know for which applications these optimizations are detrimental to performance? And do you have any intuition as to why they are detrimental? Thanks a lot, Mark Stephenson p.s. - I've been using the Open Research Compiler to perform my research, but I am now looking to switch over to gcc and g77.