public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Sandiford <richard.sandiford@arm.com>
To: Robin Dapp <rdapp@linux.ibm.com>
Cc: "Kewen.Lin" <linkw@linux.ibm.com>,
	 GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] vect: Add bias parameter for partial vectorization
Date: Mon, 10 Jan 2022 14:21:44 +0000	[thread overview]
Message-ID: <mpth7abwu13.fsf@arm.com> (raw)
In-Reply-To: <eeecce06-768d-de06-37c1-43ad30a12782@linux.ibm.com> (Robin Dapp's message of "Mon, 10 Jan 2022 13:53:22 +0100")

Robin Dapp <rdapp@linux.ibm.com> writes:
> Hi Richard,
>
>> I think it would be better to fold this into the existing documentation
>> a bit more:
> [..]
>
> done.
>
> Fixed the remaining nits in the attached v5.
>
> Bootstrap and regtest are good on s390x, Power9 and i386.
>
> Regards
>  Robin
>
> --
>
> gcc/ChangeLog:
>
>         * config/rs6000/vsx.md: Use const0 bias predicate.
>         * doc/md.texi: Document bias value.
>         * internal-fn.c (expand_partial_load_optab_fn): Add bias.
>         (expand_partial_store_optab_fn): Likewise.
>         (internal_len_load_store_bias): New function.
>         * internal-fn.h (VECT_PARTIAL_BIAS_UNSUPPORTED): New define.
>         (internal_len_load_store_bias): New function.
>         * tree-vect-loop-manip.c (vect_set_loop_controls_directly): Set
> bias.
>         (vect_set_loop_condition_partial_vectors): Add header_seq parameter.
>         * tree-vect-loop.c (vect_verify_loop_lens): Verify bias.
>         (vect_estimate_min_profitable_iters): Account for bias.
>         (vect_get_loop_len): Add bias-adjusted length.
>         * tree-vect-stmts.c (vectorizable_store): Use.
>         (vectorizable_load): Use.
>         * tree-vectorizer.h (struct rgroup_controls): Add bias-adjusted
> length.
>         (LOOP_VINFO_PARTIAL_LOAD_STORE_BIAS): New macro.

OK, thanks!

Richard

      reply	other threads:[~2022-01-10 14:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-28 14:44 Robin Dapp
2021-10-29  3:10 ` Kewen.Lin
2021-10-29  7:46 ` Richard Sandiford
2021-11-02 20:16   ` Robin Dapp
2021-11-04  3:59     ` Kewen.Lin
2021-11-12  9:56       ` Robin Dapp
2021-11-22  6:55         ` Kewen.Lin
2021-12-07 11:52           ` Robin Dapp
2021-12-10 19:21             ` Richard Sandiford
2021-12-13 18:51               ` Robin Dapp
2021-12-14 11:47                 ` Richard Sandiford
2022-01-10 12:53               ` Robin Dapp
2022-01-10 14:21                 ` Richard Sandiford [this message]

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=mpth7abwu13.fsf@arm.com \
    --to=richard.sandiford@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=linkw@linux.ibm.com \
    --cc=rdapp@linux.ibm.com \
    /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).