2013-11-16  Joern Rennecke  <joern.renne...@embecosm.com>

        * config/arc/constraints.md (Rcq): Simplify register number test.

Index: config/arc/constraints.md
===================================================================
--- config/arc/constraints.md   (revision 204899)
+++ config/arc/constraints.md   (revision 204900)
@@ -338,7 +338,7 @@ (define_constraint "Rcq"
   (and (match_code "REG")
        (match_test "TARGET_Rcq
                    && !arc_ccfsm_cond_exec_p ()
-                   && ((((REGNO (op) & 7) ^ 4) - 4) & 15) == REGNO (op)")))
+                   && IN_RANGE (REGNO (op) ^ 4, 4, 11)")))
 
 ; If we need a reload, we generally want to steer reload to use three-address
 ; alternatives in preference of two-address alternatives, unless the

Reply via email to