public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vmakarov at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/37948] [4.4 Regression] IRA generates slower code
Date: Mon, 10 Nov 2008 23:24:00 -0000	[thread overview]
Message-ID: <20081110232308.19156.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37948-682@http.gcc.gnu.org/bugzilla/>



------- Comment #9 from vmakarov at gcc dot gnu dot org  2008-11-10 23:23 -------
Subject: Bug 37948

Author: vmakarov
Date: Mon Nov 10 23:21:45 2008
New Revision: 141753

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141753
Log:
2008-11-07  Vladimir Makarov  <vmakarov@redhat.com>

        PR rtl-optimizations/37948
        * ira-int.h (struct ira_allocno_copy): New member constraint_p.
        (ira_create_copy, ira_add_allocno_copy): New parameter.

        * ira-conflicts.c (process_regs_for_copy): New parameter.  Pass it
        to ira_add_allocno_copy.
        (process_reg_shuffles, add_insn_allocno_copies): Pass a new
        parameter to process_regs_for_copy.
        (propagate_copies): Pass a new parameter to ira_add_allocno_copy.
        Fix typo in passing second allocno to ira_add_allocno_copy.

        * ira-color.c (update_conflict_hard_regno_costs): Use head of
        coalesced allocnos list.
        (assign_hard_reg): Ditto.  Check that assigned allocnos are not in
        the graph.
        (add_ira_allocno_to_bucket): Rename to add_allocno_to_bucket.
        (add_ira_allocno_to_ordered_bucket): Rename to
        add_allocno_to_ordered_bucket.
        (push_ira_allocno_to_stack): Rename to push_allocno_to_stack.  Use
        head of coalesced allocnos list.
        (push_allocnos_to_stack): Remove calculation of ALLOCNO_TEMP.
        Check that it is aready calculated.
        (push_ira_allocno_to_spill): Rename to push_ira_allocno_to_spill.
        (setup_allocno_left_conflicts_num): Use head of coalesced allocnos
        list.
        (coalesce_allocnos): Do extended coalescing too.

        * ira-emit.c (add_range_and_copies_from_move_list): Pass a new
        parameter to ira_add_allocno_copy.

        * ira-build.c (ira_create_copy, ira_add_allocno_copy): Add a new
        parameter.
        (print_copy): Print copy origination too.

        * ira-costs.c (scan_one_insn): Use alloc_pref for load from
        equivalent memory.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ira-build.c
    trunk/gcc/ira-color.c
    trunk/gcc/ira-conflicts.c
    trunk/gcc/ira-costs.c
    trunk/gcc/ira-emit.c
    trunk/gcc/ira-int.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37948


  parent reply	other threads:[~2008-11-10 23:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-29  5:39 [Bug rtl-optimization/37948] New: [4.4 Regression] IRA generates slower code for -mtune=core2 hjl dot tools at gmail dot com
2008-10-29  5:46 ` [Bug rtl-optimization/37948] " hjl dot tools at gmail dot com
2008-10-29  7:18 ` bonzini at gnu dot org
2008-10-29  7:25   ` Andrew Thomas Pinski
2008-10-29  7:26 ` pinskia at gmail dot com
2008-10-29 13:08 ` hjl dot tools at gmail dot com
2008-10-29 14:50 ` rguenth at gcc dot gnu dot org
2008-10-30 21:08 ` rguenth at gcc dot gnu dot org
2008-10-30 22:53 ` hjl dot tools at gmail dot com
2008-11-04 19:37 ` [Bug rtl-optimization/37948] [4.4 Regression] IRA generates slower code hjl dot tools at gmail dot com
2008-11-10 16:13 ` vmakarov at redhat dot com
2008-11-10 23:24 ` vmakarov at gcc dot gnu dot org [this message]
2008-11-11  0:02 ` hjl at gcc dot gnu dot org
2008-12-06 22:07 ` steven at gcc dot gnu dot org
2008-12-10  3:03 ` Joey dot ye at intel dot com
2008-12-10  5:04 ` hjl dot tools 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=20081110232308.19156.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).