summaryrefslogtreecommitdiff
path: root/gcc/config/epiphany/predicates.md
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-08 15:52:44 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-08 15:52:44 +0000
commit9864d85d2d6d2816cff1d953764ceb84b5db8325 (patch)
tree92e84a124ce8dc29ed164aab47dc013c17d90253 /gcc/config/epiphany/predicates.md
parent3d5b5f5da6f2e27d2419ef61084095520fd2114e (diff)
downloadgcc-9864d85d2d6d2816cff1d953764ceb84b5db8325.tar.gz
* config/epiphany/constraints.md (CnL): New constraint.
* config/epiphany/epiphany.md (addsi3_i): Add r/r/CnL alternative. * config/epiphany/predicates.md (add_operand): Allow 1024. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197588 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/epiphany/predicates.md')
-rw-r--r--gcc/config/epiphany/predicates.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/epiphany/predicates.md b/gcc/config/epiphany/predicates.md
index 1ae5824f337..af60d7c73f7 100644
--- a/gcc/config/epiphany/predicates.md
+++ b/gcc/config/epiphany/predicates.md
@@ -98,7 +98,7 @@
{
if (GET_CODE (op) == REG || GET_CODE (op) == SUBREG)
return add_reg_operand (op, mode);
- return satisfies_constraint_L (op);
+ return satisfies_constraint_L (op) || satisfies_constraint_CnL (op);
})
;; Ordinary 3rd operand for arithmetic operations