From: Adonis Ling <adonis0147@gmail.com>
To: Alexander Monakov <amonakov@ispras.ru>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Why does different types of array subscript used to iterate affect auto vectorization
Date: Wed, 29 Jun 2022 00:00:15 +0800 [thread overview]
Message-ID: <CAG5qfXjq_ybTqXhUFPE=ARZFrfGwMPu2aD44_4w11b06v2PAYw@mail.gmail.com> (raw)
In-Reply-To: <f93aa7b-c15a-4c8d-17ea-8e7910a5f48f@ispras.ru>
On Tue, Jun 28, 2022 at 11:56 PM Alexander Monakov <amonakov@ispras.ru>
wrote:
> On Tue, 28 Jun 2022, Adonis Ling via Gcc-help wrote:
>
> > For the secondary issue, could I explain that Clang chooses to ignore it?
>
> That would be a compiler bug if it ignored that case; instead, it appears
> to
> emit a test that the index would not wrap around, branching to a
> non-vectorized
> variant if it would.
>
> Alexander
>
Ok, thanks a lot for your help!
--
Best regards,
Adonis
prev parent reply other threads:[~2022-06-28 16:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-27 2:47 Adonis Ling
2022-06-28 13:06 ` Alexander Monakov
2022-06-28 15:23 ` Adonis Ling
2022-06-28 15:38 ` Alexander Monakov
2022-06-28 15:47 ` Adonis Ling
2022-06-28 15:56 ` Alexander Monakov
2022-06-28 16:00 ` Adonis Ling [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='CAG5qfXjq_ybTqXhUFPE=ARZFrfGwMPu2aD44_4w11b06v2PAYw@mail.gmail.com' \
--to=adonis0147@gmail.com \
--cc=amonakov@ispras.ru \
--cc=gcc-help@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).