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, alpha]: Fix PR57032, ICE with TARGET_LRA_P


Hello!

Attached patch is the first small step towards LRA enablement on
alpha. As suggester by Richard, the patch rewrites Q constraint as
define_memory_constraint, so reload can push AND address to a
register.

I will close the referred PR, as it is not a regression and open a new
one to track LRA enablement progress.

2015-05-18  Uros Bizjak  <ubizjak@gmail.com>
        Richard Henderson  <rth@redhat.com>

    PR target/57032
    * config/alpha/constraints.md (Q): Rewrite as define_memory_constraint.
    Check for a memory location that is not a reference (using an AND)
    to an unaligned location here.
    * config/alpha/predicates.md (normal_memory_operand): Remove.

Tested on alpha-linux-gnu and committed to mainline SVN.

Uros.

Attachment: b.diff.txt
Description: Text document


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