aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config/arm/predicates.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/config/arm/predicates.md')
-rw-r--r--gcc-4.9/gcc/config/arm/predicates.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config/arm/predicates.md b/gcc-4.9/gcc/config/arm/predicates.md
index ce5c9a830..6273e8820 100644
--- a/gcc-4.9/gcc/config/arm/predicates.md
+++ b/gcc-4.9/gcc/config/arm/predicates.md
@@ -153,6 +153,14 @@
(ior (match_operand 0 "arm_rhs_operand")
(match_operand 0 "memory_operand")))
+(define_predicate "const_int_I_operand"
+ (and (match_operand 0 "const_int_operand")
+ (match_test "satisfies_constraint_I (op)")))
+
+(define_predicate "const_int_M_operand"
+ (and (match_operand 0 "const_int_operand")
+ (match_test "satisfies_constraint_M (op)")))
+
;; This doesn't have to do much because the constant is already checked
;; in the shift_operator predicate.
(define_predicate "shift_amount_operand"