public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Philipp Tomsich <ptomsich@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/vrull/heads/for-upstream)] riscv: bitmanip/zbb: Add prefix/postfix and enable visiblity Date: Thu, 17 Nov 2022 22:26:55 +0000 (GMT) [thread overview] Message-ID: <20221117222655.41782384F6C8@sourceware.org> (raw) https://gcc.gnu.org/g:c0034ca89fa5a35fb5a74b6ff5b770ef39fd0e70 commit c0034ca89fa5a35fb5a74b6ff5b770ef39fd0e70 Author: Christoph Müllner <christoph.muellner@vrull.eu> Date: Wed Sep 28 11:18:58 2022 +0200 riscv: bitmanip/zbb: Add prefix/postfix and enable visiblity INSNs are usually postfixed by a number representing the argument count. Given the instructions will be used in a later commit, let's make them visible, but add a "riscv_" prefix to avoid conflicts with standard INSNs. gcc/ChangeLog: * config/riscv/bitmanip.md (*<optab>_not<mode>): Rename INSN. (riscv_<optab>_not<mode>3): Rename INSN. (*xor_not<mode>): Rename INSN. (xor_not<mode>3): Rename INSN. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> Diff: --- gcc/config/riscv/bitmanip.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/riscv/bitmanip.md b/gcc/config/riscv/bitmanip.md index a06b381f42a..4c7649a8cbf 100644 --- a/gcc/config/riscv/bitmanip.md +++ b/gcc/config/riscv/bitmanip.md @@ -238,7 +238,7 @@ ;; ZBB extension. -(define_insn "*<optab>_not<mode>" +(define_insn "riscv_<optab>_not<mode>3" [(set (match_operand:X 0 "register_operand" "=r") (bitmanip_bitwise:X (not:X (match_operand:X 1 "register_operand" "r")) (match_operand:X 2 "register_operand" "r")))] @@ -260,7 +260,7 @@ [(set (match_dup 3) (ashiftrt:DI (match_dup 1) (const_int 63))) (set (match_dup 0) (and:DI (not:DI (match_dup 3)) (match_dup 2)))]) -(define_insn "*xor_not<mode>" +(define_insn "riscv_xor_not<mode>3" [(set (match_operand:X 0 "register_operand" "=r") (not:X (xor:X (match_operand:X 1 "register_operand" "r") (match_operand:X 2 "register_operand" "r"))))]
next reply other threads:[~2022-11-17 22:26 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-17 22:26 Philipp Tomsich [this message] -- strict thread matches above, loose matches on Subject: below -- 2022-12-01 13:24 Philipp Tomsich 2022-11-18 20:26 Philipp Tomsich 2022-11-18 20:23 Philipp Tomsich 2022-11-18 11:36 Philipp Tomsich 2022-11-15 15:00 Philipp Tomsich 2022-11-15 14:02 Philipp Tomsich
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=20221117222655.41782384F6C8@sourceware.org \ --to=ptomsich@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).