summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/predicates.md
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-10 01:11:43 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-10 01:11:43 +0000
commit5b13ac51025a891f7e057bf667c1140e272a7a6b (patch)
treed50d952af6b4e2eec66f9c95e310e3d0c2bf1edf /gcc/config/rs6000/predicates.md
parent988f0d0901eb7ab5bc4f80546e4780f5ab8c3f1c (diff)
downloadgcc-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.md5
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")