public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "suckfish at ihug dot co dot nz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/37807] Exponential compile time with MMX builtins.
Date: Sun, 12 Oct 2008 04:48:00 -0000	[thread overview]
Message-ID: <20081012044645.32357.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37807-2018@http.gcc.gnu.org/bugzilla/>



------- 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


  parent reply	other threads:[~2008-10-12  4:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-11 21:22 [Bug c/37807] New: " suckfish at ihug dot co dot nz
2008-10-11 21:22 ` [Bug c/37807] " suckfish at ihug dot co dot nz
2008-10-11 21:36 ` suckfish at ihug dot co dot nz
2008-10-11 22:07 ` rguenth at gcc dot gnu dot org
2008-10-11 22:24 ` suckfish at ihug dot co dot nz
2008-10-11 23:03 ` suckfish at ihug dot co dot nz
2008-10-11 23:25 ` suckfish at ihug dot co dot nz
2008-10-12  2:40 ` suckfish at ihug dot co dot nz
2008-10-12  4:48 ` suckfish at ihug dot co dot nz [this message]
2008-10-12  5:23 ` suckfish at ihug dot co dot nz
2008-10-12  5:28 ` suckfish at ihug dot co dot nz
2008-10-12 10:31 ` [Bug middle-end/37807] " rguenth at gcc dot gnu dot org
2008-11-10  9:11 ` uros at gcc dot gnu dot org
2008-11-10 10:46 ` uros at gcc dot gnu dot org
2008-11-10 12:23 ` uros at gcc dot gnu dot org
2008-11-10 12:26 ` ubizjak at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081012044645.32357.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).