From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32622 invoked by alias); 12 Oct 2008 04:48:07 -0000 Received: (qmail 32358 invoked by uid 48); 12 Oct 2008 04:46:45 -0000 Date: Sun, 12 Oct 2008 04:48:00 -0000 Message-ID: <20081012044645.32357.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/37807] Exponential compile time with MMX builtins. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "suckfish at ihug dot co dot nz" 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/msg00772.txt.bz2 ------- Comment #8 from suckfish at ihug dot co dot nz 2008-10-12 04:46 ------- Created an attachment (id=16484) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16484&action=view) Test-case modfied to take exponential time on trunk too. It turns out that it was fast on trunk because inlining is less aggressive there. Making some functions inline causes compile time to blow up with trunk also. Updated test case attached also. PS. The correct fix for the rotate on trunk was to use __builtin_ia32_psrldi/pslldi. -- suckfish at ihug dot co dot nz changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16482|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37807