From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2068 invoked by alias); 1 Oct 2007 09:47:06 -0000 Received: (qmail 2002 invoked by uid 48); 1 Oct 2007 09:46:57 -0000 Date: Mon, 01 Oct 2007 09:47:00 -0000 Message-ID: <20071001094657.2001.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/33604] significantly slower results with 4.3 compared to 4.2 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg00020.txt.bz2 ------- Comment #2 from rguenth at gcc dot gnu dot org 2007-10-01 09:46 ------- With a more recent 4.3 version I get 4.2 4.3 -O2 6.1s 5.1s -O3 4.1s 5.1s both -O3 variants have one function not inlined in the main loop. For 4.2 it is EiEval, EiMatrix > > operator*, EiMatrix >(EiObject > const&, EiObject > const&) for 4.3 it is EiMatrix& EiObject >::operator=, EiScalarProduct, EiMatrix > > > >(EiObject, EiScalarProduct, EiMatrix > > > > const&) but even complete inlining does not improve numbers much. There's also nothing obvious in the asm - we simply have too little registers and load/store from/to memory very often. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33604