From 03b9b5ce20cb3f613a28fc5dc4cb8a9eaf422ce5 Mon Sep 17 00:00:00 2001 From: Vladimir Makarov Date: Thu, 18 Dec 2014 21:50:48 +0000 Subject: [PATCH] lra-constraints.c (lra-constraints.c): Exchange places of sclass and dclass. 2014-12-18 Vladimir Makarov * lra-constraints.c (lra-constraints.c): Exchange places of sclass and dclass. From-SVN: r218875 --- gcc/ChangeLog | 5 +++++ gcc/lra-constraints.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8c3a610dae3..72e8dfdc553 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-18 Vladimir Makarov + + * lra-constraints.c (lra-constraints.c): Exchange places of sclass + and dclass. + 2014-12-18 Vladimir Makarov PR rtl-optimization/64291 diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index 2526954b02a..23fd44db54a 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. */ -- 2.30.2