public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/redhat/heads/gcc-9-branch)] pa.md: Revert change to use ordered_comparison_operator instead of... Date: Thu, 23 Jan 2020 10:19:00 -0000 [thread overview] Message-ID: <20200123101843.35626.qmail@sourceware.org> (raw) https://gcc.gnu.org/g:163dbe3bd6b062ab4c9ade8a6bb3f2ecf22978f0 commit 163dbe3bd6b062ab4c9ade8a6bb3f2ecf22978f0 Author: John David Anglin <danglin@gcc.gnu.org> Date: Mon Jan 6 23:52:55 2020 +0000 pa.md: Revert change to use ordered_comparison_operator instead of... * config/pa/pa.md: Revert change to use ordered_comparison_operator instead of cmpib_comparison_operator in cmpib patterns. * config/pa/predicates.md (cmpib_comparison_operator): Revert removal of cmpib_comparison_operator. Revise comment. From-SVN: r279928 Diff: --- gcc/ChangeLog | 7 +++++++ gcc/config/pa/pa.md | 4 ++-- gcc/config/pa/predicates.md | 6 ++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c0c09d..8118f90 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2020-01-06 John David Anglin <danglin@gcc.gnu.org> + + * config/pa/pa.md: Revert change to use ordered_comparison_operator + instead of cmpib_comparison_operator in cmpib patterns. + * config/pa/predicates.md (cmpib_comparison_operator): Revert removal + of cmpib_comparison_operator. Revise comment. + 2020-01-01 John David Anglin <danglin@gcc.gnu.org> PR target/67834 diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index aa18937..18f8e12 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -1524,7 +1524,7 @@ (define_insn "" [(set (pc) (if_then_else - (match_operator 3 "ordered_comparison_operator" + (match_operator 3 "cmpib_comparison_operator" [(match_operand:DI 1 "reg_or_0_operand" "rM") (match_operand:DI 2 "arith5_operand" "rL")]) (label_ref (match_operand 0 "" "")) @@ -1553,7 +1553,7 @@ (define_insn "" [(set (pc) (if_then_else - (match_operator 3 "ordered_comparison_operator" + (match_operator 3 "cmpib_comparison_operator" [(match_operand:DI 1 "reg_or_0_operand" "rM") (match_operand:DI 2 "arith5_operand" "rL")]) (pc) diff --git a/gcc/config/pa/predicates.md b/gcc/config/pa/predicates.md index 70824b9..25247f1 100644 --- a/gcc/config/pa/predicates.md +++ b/gcc/config/pa/predicates.md @@ -662,6 +662,12 @@ (and (match_code "symbol_ref") (match_test "SYMBOL_REF_TLS_MODEL (op) == TLS_MODEL_LOCAL_EXEC"))) +;; True iff OP is an operator suitable for use in a double-word cmpib +;; instruction. + +(define_predicate "cmpib_comparison_operator" + (match_code "eq,ne,lt,le,leu,gt,gtu,ge")) + ;; True iff OP is an operator suitable for use in a movb instruction. (define_predicate "movb_comparison_operator"
next reply other threads:[~2020-01-23 10:19 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-23 10:19 Jakub Jelinek [this message] -- strict thread matches above, loose matches on Subject: below -- 2020-01-23 10:16 Jakub Jelinek
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200123101843.35626.qmail@sourceware.org \ --to=jakub@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).