aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arc
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2013-11-16 11:49:10 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2013-11-16 11:49:10 +0000
commit036def0f2388da95505fcbadb538d7c45ff3231e (patch)
treed755a6a07c48f532e626282128b56ac00940a6b1 /gcc/config/arc
parent53677b17cb887acaa488fe9b011424a657f1697c (diff)
downloadgcc-036def0f2388da95505fcbadb538d7c45ff3231e.zip
gcc-036def0f2388da95505fcbadb538d7c45ff3231e.tar.gz
gcc-036def0f2388da95505fcbadb538d7c45ff3231e.tar.bz2
* config/arc/constraints.md (Rcq): Simplify register number test.
From-SVN: r204900
Diffstat (limited to 'gcc/config/arc')
-rw-r--r--gcc/config/arc/constraints.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arc/constraints.md b/gcc/config/arc/constraints.md
index 088013b..7950453 100644
--- a/gcc/config/arc/constraints.md
+++ b/gcc/config/arc/constraints.md
@@ -338,7 +338,7 @@
(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