aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/epiphany/constraints.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/epiphany/constraints.md')
-rw-r--r--gcc/config/epiphany/constraints.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/epiphany/constraints.md b/gcc/config/epiphany/constraints.md
index bd3d935..d4d6049 100644
--- a/gcc/config/epiphany/constraints.md
+++ b/gcc/config/epiphany/constraints.md
@@ -39,6 +39,11 @@
(and (match_code "const_int")
(match_test "SIMM11 (ival)")))
+(define_constraint "CnL"
+ "A negated signed 11-bit constant."
+ (and (match_code "const_int")
+ (match_test "SIMM11 (-ival)")))
+
(define_constraint "Cm1"
"A signed 11-bit constant added to -1"
(and (match_code "const_int")