diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-10 01:11:43 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-10 01:11:43 +0000 |
commit | 5b13ac51025a891f7e057bf667c1140e272a7a6b (patch) | |
tree | d50d952af6b4e2eec66f9c95e310e3d0c2bf1edf /gcc/config/rs6000/predicates.md | |
parent | 988f0d0901eb7ab5bc4f80546e4780f5ab8c3f1c (diff) | |
download | gcc-5b13ac51025a891f7e057bf667c1140e272a7a6b.tar.gz |
* config/rs6000/rs6000.md (eq): Convert to define_insn_and_split.
* config/rs6000/predicates.md (scc_eq_operand): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100812 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/predicates.md')
-rw-r--r-- | gcc/config/rs6000/predicates.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index 570f59d3f0c..a2daf8711b6 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -551,6 +551,11 @@ (match_operand 0 "gpc_reg_operand") (match_operand 0 "logical_operand")))) +;; Return 1 if the operand is either a logical operand or a short cint operand. +(define_predicate "scc_eq_operand" + (ior (match_operand 0 "logical_operand") + (match_operand 0 "short_cint_operand"))) + ;; Return 1 if the operand is a general non-special register or memory operand. (define_predicate "reg_or_mem_operand" (if_then_else (match_code "mem") |