This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lra] a patch to speed up LRA


The following patch speeds up LRA mostly for architectures with moderate or large register files.

The patch was successfully bootstrapped on x86-64, ia64, and ppc64.

2011-06-22 Vladimir Makarov <vmakarov@redhat.com>

        * lra-assign.c (live_range_hard_reg_pseudos): Make it a sparseset.
        (live_range_hard_reg_pseudos, live_range_reload_pseudos): Ditto.
        (init_live_reload_pseudos, finish_live_reload_pseudos): Work with
        the above variables as sparsesets.
        (find_hard_regno_for, spill_for): Ditto.
        (setup_live_pseudos_and_spill_after_equiv_moves): Ditto.

* Makefile.in (lra-assign.o): Add missed sparseset.h.


Attachment: jun22.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]