]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/arc/constraints.md (Rcq): Simplify register number test.
authorJoern Rennecke <joern.rennecke@embecosm.com>
Sat, 16 Nov 2013 11:49:10 +0000 (11:49 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Sat, 16 Nov 2013 11:49:10 +0000 (11:49 +0000)
From-SVN: r204900

gcc/ChangeLog
gcc/config/arc/constraints.md

index a9f65da388007e6df561eff2c0013544ace6835b..e53a9950822faa2ea93bac971b5a5f11c8336f9a 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-16  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * config/arc/constraints.md (Rcq): Simplify register number test.
+
 2013-11-15  Aldy Hernandez  <aldyh@redhat.com>
 
        * gimple.h (enum gf_mask): Change the ordering of GF_OMP_* bits.
index 088013bbdb7ec91b295c975c2cda3002e7da03a6..795045377dda0cfd5fc913430c92a53956051c43 100644 (file)
   (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