aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arc
diff options
context:
space:
mode:
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