diff options
Diffstat (limited to 'gcc/config/sh/predicates.md')
-rw-r--r-- | gcc/config/sh/predicates.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config/sh/predicates.md b/gcc/config/sh/predicates.md index da9962c9984..ea924d830f5 100644 --- a/gcc/config/sh/predicates.md +++ b/gcc/config/sh/predicates.md @@ -552,6 +552,17 @@ (and (match_code "minus,div") (match_test "GET_MODE (op) == mode"))) +;; UNORDERED is only supported on SHMEDIA. + +(define_predicate "sh_float_comparison_operator" + (ior (match_operand 0 "ordered_comparison_operator") + (and (match_test "TARGET_SHMEDIA") + (match_code "unordered")))) + +(define_predicate "shmedia_cbranch_comparison_operator" + (ior (match_operand 0 "equality_comparison_operator") + (match_operand 0 "greater_comparison_operator"))) + ;; TODO: Add a comment here. (define_predicate "sh_const_vec" |