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/113112] RISC-V: Dynamic LMUL feature stabilization for GCC-14 release
Date: Tue, 26 Dec 2023 09:29:25 +0000	[thread overview]
Message-ID: <bug-113112-4-JybFMqNYj3@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113112-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113112

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Pan Li <panli@gcc.gnu.org>:

https://gcc.gnu.org/g:f83cfb8148bcf0876df76761a9a4545bc939667d

commit r14-6836-gf83cfb8148bcf0876df76761a9a4545bc939667d
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Tue Dec 26 16:42:27 2023 +0800

    RISC-V: Some minior tweak on dynamic LMUL cost model

    Tweak some codes of dynamic LMUL cost model to make computation more
predictable and accurate.

    Tested on both RV32 and RV64 no regression.

    Committed.

            PR target/113112

    gcc/ChangeLog:

            * config/riscv/riscv-vector-costs.cc (compute_estimated_lmul):
Tweak LMUL estimation.
            (has_unexpected_spills_p): Ditto.
            (costs::record_potential_unexpected_spills): Ditto.

    gcc/testsuite/ChangeLog:

            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-1.c: Add more
checks.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-2.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-3.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-4.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-5.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-6.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-7.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-1.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-2.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-3.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-4.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-5.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-1.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-2.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-3.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-5.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-6.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-7.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-8.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-1.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-10.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-11.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-2.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-3.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-4.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-5.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-6.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-7.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-8.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-9.c: Ditto.
            * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-12.c: New test.
            * gcc.dg/vect/costmodel/riscv/rvv/pr113112-2.c: New test.

  parent reply	other threads:[~2023-12-26  9:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-22  9:04 [Bug c/113112] New: " juzhe.zhong at rivai dot ai
2023-12-23  0:59 ` [Bug target/113112] " cvs-commit at gcc dot gnu.org
2023-12-26  9:29 ` cvs-commit at gcc dot gnu.org [this message]
2023-12-27  9:19 ` cvs-commit at gcc dot gnu.org
2024-01-02  0:23 ` cvs-commit at gcc dot gnu.org
2024-01-03  9:21 ` cvs-commit 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-113112-4-JybFMqNYj3@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: link
Be 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).