diff options
Diffstat (limited to 'gcc/config/alpha/predicates.md')
-rw-r--r-- | gcc/config/alpha/predicates.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/alpha/predicates.md b/gcc/config/alpha/predicates.md index 102451ee80c..6fc359ec053 100644 --- a/gcc/config/alpha/predicates.md +++ b/gcc/config/alpha/predicates.md @@ -74,6 +74,11 @@ (and (match_code "const_int,const_wide_int,const_double,const_vector") (not (match_test "op == CONST0_RTX (mode)")))) +;; Return 1 if OP is the constant 2 or 3. +(define_predicate "const23_operand" + (and (match_code "const_int") + (match_test "INTVAL (op) == 2 || INTVAL (op) == 3"))) + ;; Return 1 if OP is the constant 4 or 8. (define_predicate "const48_operand" (and (match_code "const_int") |