This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37807] Exponential compile time with MMX builtins.
- From: "suckfish at ihug dot co dot nz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2008 04:46:45 -0000
- Subject: [Bug c/37807] Exponential compile time with MMX builtins.
- References: <bug-37807-2018@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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