From 036def0f2388da95505fcbadb538d7c45ff3231e Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Sat, 16 Nov 2013 11:49:10 +0000 Subject: [PATCH] * config/arc/constraints.md (Rcq): Simplify register number test. From-SVN: r204900 --- gcc/ChangeLog | 4 ++++ gcc/config/arc/constraints.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9f65da..e53a995 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-11-16 Joern Rennecke + + * config/arc/constraints.md (Rcq): Simplify register number test. + 2013-11-15 Aldy Hernandez * gimple.h (enum gf_mask): Change the ordering of GF_OMP_* bits. 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 -- 2.7.4