From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30633 invoked by alias); 28 Oct 2008 01:13:26 -0000 Received: (qmail 30150 invoked by uid 48); 28 Oct 2008 01:12:06 -0000 Date: Tue, 28 Oct 2008 01:13:00 -0000 Message-ID: <20081028011206.30149.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/37364] [4.4 Regression] IRA generates inefficient code due to missing regmove pass In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" 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: 2008-10/txt/msg01791.txt.bz2 ------- Comment #22 from hjl dot tools at gmail dot com 2008-10-28 01:12 ------- Created an attachment (id=16571) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16571&action=view) A patch to re-enable regmove After applying this patch to re-enable regmove, I got [hjl@gnu-6 gcc]$ ./xgcc -B./ -O2 -mtune=core2 /tmp/foo.c -o noira -fno-ira -m32 [hjl@gnu-6 gcc]$ ./xgcc -B./ -O2 -mtune=core2 /tmp/foo.c -o ira -m32 [hjl@gnu-6 gcc]$ time ./ira real 0m7.307s user 0m7.305s sys 0m0.001s [hjl@gnu-6 gcc]$ time ./noira real 0m7.478s user 0m7.474s sys 0m0.002s [hjl@gnu-6 gcc]$ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37364