public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Kito Cheng <kito@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-9025] RISC-V: Fix *sge<u>_<X:mode><GPR:mode> pattern Date: Fri, 16 Feb 2024 10:10:23 +0000 (GMT) [thread overview] Message-ID: <20240216101023.7E6693858C54@sourceware.org> (raw) https://gcc.gnu.org/g:325d5dd53270fe8fd62b36c92c8f8b87c2938bf1 commit r14-9025-g325d5dd53270fe8fd62b36c92c8f8b87c2938bf1 Author: Kito Cheng <kito.cheng@sifive.com> Date: Fri Feb 16 17:27:24 2024 +0800 RISC-V: Fix *sge<u>_<X:mode><GPR:mode> pattern *sge<u>_<X:mode><GPR:mode> pattern has referenced operand[2] which is invalid...it should just use `slti<u>` rather than `slti%i2<u>`. gcc/ChangeLog: PR target/106543 * config/riscv/riscv.md (*sge<u>_<X:mode><GPR:mode>): Fix asm pattern. Diff: --- gcc/config/riscv/riscv.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md index 39b29795cd6c..3f7a023d9410 100644 --- a/gcc/config/riscv/riscv.md +++ b/gcc/config/riscv/riscv.md @@ -3107,7 +3107,7 @@ (any_ge:GPR (match_operand:X 1 "register_operand" " r") (const_int 1)))] "" - "slt%i2<u>\t%0,zero,%1" + "slti<u>\t%0,zero,%1" [(set_attr "type" "slt") (set_attr "mode" "<X:MODE>")])
reply other threads:[~2024-02-16 10:10 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20240216101023.7E6693858C54@sourceware.org \ --to=kito@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).