From 7dff44b9557305f7847dd3bee8724868c30809c7 Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Sat, 20 Sep 2014 19:37:10 +0000 Subject: [PATCH] epiphany.md (sub_f_add_imm): Change constraint of operand 3 to "CnL". * config/epiphany/epiphany.md (sub_f_add_imm): Change constraint of operand 3 to "CnL". From-SVN: r215422 --- gcc/ChangeLog | 5 +++++ gcc/config/epiphany/epiphany.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1d933c509a..cb70297a823 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-09-20 Joern Rennecke + + * config/epiphany/epiphany.md (sub_f_add_imm): Change constraint of + operand 3 to "CnL". + 2014-09-20 Andreas Schwab * config/ia64/ia64.md: Remove constraints from define_split diff --git a/gcc/config/epiphany/epiphany.md b/gcc/config/epiphany/epiphany.md index 1a2f5d3adfc..a7f7662a397 100644 --- a/gcc/config/epiphany/epiphany.md +++ b/gcc/config/epiphany/epiphany.md @@ -1687,7 +1687,7 @@ (compare:CC (match_operand:SI 1 "gpr_operand" "r") (match_operand:SI 2 "arith_int_operand" "L"))) (set (match_operand:SI 0 "gpr_operand" "=r") - (plus:SI (match_dup 1) (match_operand:SI 3 "const_int_operand" "L")))] + (plus:SI (match_dup 1) (match_operand:SI 3 "const_int_operand" "CnL")))] "INTVAL (operands[2]) == -INTVAL (operands[3])" "sub %0,%1,%2" [(set_attr "type" "compare")])