summaryrefslogtreecommitdiff
path: root/gcc/config/bfin/predicates.md
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-23 09:06:42 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-23 09:06:42 +0000
commita9684879cbb1167210cf4aa80eb6ea6580eece39 (patch)
tree79d8faf962e3f44f43f2cae3224ce91f7cbc4abd /gcc/config/bfin/predicates.md
parent679735d806379bfd7f00b58fca1376c8fc487507 (diff)
downloadgcc-a9684879cbb1167210cf4aa80eb6ea6580eece39.tar.gz
gcc/
* config/bfin/bfin-protos.h (push_multiple_operation): Delete. (pop_multiple_operation): Delete. (analyze_push_multiple_operation): Declare. (analyze_pop_multiple_operation): Declare. * config/bfin/bfin.c (push_multiple_operation): Rename to... (analyze_push_multiple_operation): ...this and remove mode argument. (pop_multiple_operation): Rename to... (analyze_pop_multiple_operation): ...this and remove mode argument. * config/bfin/predicates.md (push_multiple_operation): Define. (pop_multiple_operation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205301 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/bfin/predicates.md')
-rw-r--r--gcc/config/bfin/predicates.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/bfin/predicates.md b/gcc/config/bfin/predicates.md
index cdb2c414be9..8d9e13d5aca 100644
--- a/gcc/config/bfin/predicates.md
+++ b/gcc/config/bfin/predicates.md
@@ -239,3 +239,11 @@
gcc_assert (REG_P (op));
return IREG_P (op);
})
+
+(define_predicate "push_multiple_operation"
+ (and (match_code "parallel")
+ (match_test "analyze_push_multiple_operation (op)")))
+
+(define_predicate "pop_multiple_operation"
+ (and (match_code "parallel")
+ (match_test "analyze_pop_multiple_operation (op)")))