aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config/msp430/predicates.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/config/msp430/predicates.md')
-rw-r--r--gcc-4.9/gcc/config/msp430/predicates.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config/msp430/predicates.md b/gcc-4.9/gcc/config/msp430/predicates.md
index 9a8e2da0a..94a628cd5 100644
--- a/gcc-4.9/gcc/config/msp430/predicates.md
+++ b/gcc-4.9/gcc/config/msp430/predicates.md
@@ -73,6 +73,10 @@
(define_predicate "msp430_nonsubreg_operand"
(match_code "reg,mem"))
+(define_predicate "msp430_nonsubreg_or_imm_operand"
+ (ior (match_operand 0 "msp430_nonsubreg_operand")
+ (match_operand 0 "immediate_operand")))
+
; TRUE for constants which are bit positions for zero_extract
(define_predicate "msp430_bitpos"
(and (match_code "const_int")