aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Makarov <vmakarov@redhat.com>2014-12-18 21:50:48 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>2014-12-18 21:50:48 +0000
commit03b9b5ce20cb3f613a28fc5dc4cb8a9eaf422ce5 (patch)
tree0bbc41e98929173ce9fc0f2fdc7f0cd887c3cc3a
parent32b38e8972c738b4c8d0bd701d30c0c7daa30dbe (diff)
downloadgcc-03b9b5ce20cb3f613a28fc5dc4cb8a9eaf422ce5.zip
gcc-03b9b5ce20cb3f613a28fc5dc4cb8a9eaf422ce5.tar.gz
gcc-03b9b5ce20cb3f613a28fc5dc4cb8a9eaf422ce5.tar.bz2
lra-constraints.c (lra-constraints.c): Exchange places of sclass and dclass.
2014-12-18 Vladimir Makarov <vmakarov@redhat.com> * lra-constraints.c (lra-constraints.c): Exchange places of sclass and dclass. From-SVN: r218875
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lra-constraints.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8c3a610..72e8dfd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2014-12-18 Vladimir Makarov <vmakarov@redhat.com>
+ * lra-constraints.c (lra-constraints.c): Exchange places of sclass
+ and dclass.
+
+2014-12-18 Vladimir Makarov <vmakarov@redhat.com>
+
PR rtl-optimization/64291
* lra-remat.c (bad_for_rematerialization_p): Add UNPSEC_VLOATILE.
(create_cands): Process only output reload insn with potential
diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c
index 2526954..23fd44d 100644
--- a/gcc/lra-constraints.c
+++ b/gcc/lra-constraints.c
@@ -3197,7 +3197,7 @@ simple_move_p (void)
&& (sclass = get_op_class (src)) != NO_REGS
/* The backend guarantees that register moves of cost 2
never need reloads. */
- && targetm.register_move_cost (GET_MODE (src), dclass, sclass) == 2);
+ && targetm.register_move_cost (GET_MODE (src), sclass, dclass) == 2);
}
/* Swap operands NOP and NOP + 1. */