From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13208 invoked by alias); 5 May 2012 10:07:06 -0000 Received: (qmail 13196 invoked by uid 22791); 5 May 2012 10:07:05 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 05 May 2012 10:06:52 +0000 From: "steven at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/52391] [4.7/4.8 regression] genattrtab almost 5X slower for m68k than in 4.6 and earlier releases Date: Sat, 05 May 2012 10:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: steven at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.1 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-05/txt/msg00565.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52391 --- Comment #12 from Steven Bosscher 2012-05-05 10:06:32 UTC --- Created attachment 27315 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27315 Avoid diving deep through generated IOR trees for EQ_ATTR This patch tries to keep IOR-trees for EQ_ATTR tests together. This improves genattrtab run time and also the generated code because more get_attr_* results are cached. On gcc110, the run time for genattrtab for m68k goes down from 9m3s to 4m15s. The difference in insn-attrtab looks like an improvement at first glance, but I could use some help interpreting the differences. (Will attach shortly.) (The cf.md bit only sorts the attributes alphabetically but doesn't change the genattrtab run time.)