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 tree-optimization/101809] emulated gather capability doesn't support 32-bit target
Date: Tue, 10 Aug 2021 10:25:27 +0000	[thread overview]
Message-ID: <bug-101809-4-PrLaW62XHn@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-101809-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:08aa0e3d4f781fd6a6e293bb06d280365a0bdc1d

commit r12-2836-g08aa0e3d4f781fd6a6e293bb06d280365a0bdc1d
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Aug 10 10:54:58 2021 +0200

    tree-optimization/101809 - support emulated gather for double[int]

    This adds emulated gather support for index vectors with more
    elements than the data vector.  The internal function gather
    vectorization code doesn't currently handle this (but the builtin
    decl code does).  This allows vectorization of double data gather
    with int indexes on 32bit platforms where there isn't an implicit
    widening to 64bit present.

    2021-08-10  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/101809
            * tree-vect-stmts.c (get_load_store_type): Allow emulated
            gathers with offset vector nunits being a constant multiple
            of the data vector nunits.
            (vect_get_gather_scatter_ops): Use the appropriate nunits
            for the offset vector defs.
            (vectorizable_store): Adjust call to
            vect_get_gather_scatter_ops.
            (vectorizable_load): Likewise.  Handle the case of less
            offset vectors than data vectors.

  parent reply	other threads:[~2021-08-10 10:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 23:04 [Bug middle-end/101809] New: " hjl.tools at gmail dot com
2021-08-07 14:11 ` [Bug middle-end/101809] " hjl.tools at gmail dot com
2021-08-09  7:31 ` [Bug tree-optimization/101809] " rguenth at gcc dot gnu.org
2021-08-09  8:50 ` rguenth at gcc dot gnu.org
2021-08-10  9:29 ` rguenth at gcc dot gnu.org
2021-08-10 10:25 ` cvs-commit at gcc dot gnu.org [this message]
2021-08-10 10:28 ` rguenth at gcc dot gnu.org
2021-08-10 12:34 ` 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-101809-4-PrLaW62XHn@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).