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]

patch for correct mode use by LRA for save/restore generation


The following patch implements correct mode use for save/restore generation.

The patch was successfully bootstrapped and tested on x86/x86-64, ppc64, s390.

The patch also makes some tuning in alternative matching and adds more debugging printing.

Committed as rev. 201611.

2013-08-08  Vladimir Makarov  <vmakarov@redhat.com>

        * lra-constraints.c (emit_spill_move): Remove assert.
        (process_alt_operands): Add more debugging
        output.  Increase reject for spilling into memory.  Decrease
        reject for reloading scratch.
        (split_reg): Use HARD_REGNO_CALLER_SAVE_MODE.

Attachment: constraint.patch
Description: Text document


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