public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109547] [13] RISC-V: Multiple vsetvli for load/store loop Date: Mon, 29 May 2023 10:35:13 +0000 [thread overview] Message-ID: <bug-109547-4-rgpeoC0X1y@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-109547-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109547 --- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Kito Cheng <kito@gcc.gnu.org>: https://gcc.gnu.org/g:98fc9d38db95b3396a8540accc1bc45e71080650 commit r13-7386-g98fc9d38db95b3396a8540accc1bc45e71080650 Author: Juzhe-Zhong <juzhe.zhong@rivai.ai> Date: Fri Apr 7 09:34:13 2023 +0800 RISC-V: Add local user vsetvl instruction elimination [PR109547] This patch is to enhance optimization for auto-vectorization. Before this patch: Loop: vsetvl a5,a2... vsetvl zero,a5... vle After this patch: Loop: vsetvl a5,a2 vle gcc/ChangeLog: PR target/109547 * config/riscv/riscv-vsetvl.cc (local_eliminate_vsetvl_insn): New function. (vector_insn_info::skip_avl_compatible_p): Ditto. (vector_insn_info::merge): Remove default value. (pass_vsetvl::compute_local_backward_infos): Ditto. (pass_vsetvl::cleanup_insns): Add local vsetvl elimination. * config/riscv/riscv-vsetvl.h: Ditto. gcc/testsuite/ChangeLog: PR target/109547 * gcc.target/riscv/rvv/vsetvl/pr109547.c: New. * gcc.target/riscv/rvv/vsetvl/vsetvl-17.c: Update scan condition. (cherry picked from commit d51f2456ee51bd59a79b4725ca0e488c25260bbf)
next prev parent reply other threads:[~2023-05-29 10:35 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-04-18 22:24 [Bug target/109547] New: " palmer at gcc dot gnu.org 2023-04-19 0:25 ` [Bug target/109547] " kito at gcc dot gnu.org 2023-04-19 1:01 ` juzhe.zhong at rivai dot ai 2023-04-21 6:46 ` cvs-commit at gcc dot gnu.org 2023-04-21 6:51 ` [Bug target/109547] [13] " kito at gcc dot gnu.org 2023-05-29 10:35 ` cvs-commit at gcc dot gnu.org [this message] 2023-05-29 12:47 ` kito at gcc dot gnu.org
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=bug-109547-4-rgpeoC0X1y@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).