From: amylaar Date: Sat, 20 Sep 2014 19:37:10 +0000 (+0000) Subject: * config/epiphany/epiphany.md (sub_f_add_imm): Change constraint of X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8f3049ec2f73b75c7be86ec29147ea4434eee67;p=thirdparty%2Fgcc.git * config/epiphany/epiphany.md (sub_f_add_imm): Change constraint of operand 3 to "CnL". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215422 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1d933c509ac..cb70297a8233 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 1a2f5d3adfc9..a7f7662a3973 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")])