From: Marcus Shawcroft <marcus.shawcroft@gmail.com>
To: James Greenhalgh <james.greenhalgh@arm.com>
Cc: gcc-patches@gcc.gnu.org, marcus.shawcroft@arm.com
Subject: Re: [Patch AArch64] Implement Vector Permute Support
Date: Tue, 04 Dec 2012 22:44:00 -0000 [thread overview]
Message-ID: <CAFqB+PxpZOQyQf+pKQMdavxSCuNzP1xNjYP54dN4-OFD6zQhLg@mail.gmail.com> (raw)
In-Reply-To: <1354617087-31993-1-git-send-email-james.greenhalgh@arm.com>
OK
/Marcus
On 4 December 2012 10:31, James Greenhalgh <james.greenhalgh@arm.com> wrote:
>
> Hi,
>
> This patch adds support for Vector Shuffle style operations
> through support for TARGET_VECTORIZE_VEC_PERM_CONST_OK and
> the vec_perm and vec_perm_const standard patterns.
>
> In this patch we add the framework and support for the
> generic tbl instruction. This can be used to handle any
> vector permute operation, but we can do a better job for
> some special cases. The second patch of this series does
> that better job for the ZIP, UZP and TRN instructions.
>
> Is this OK to commit?
>
> Thanks,
> James Greenhalgh
>
> ---
> gcc/
>
> 2012-12-04 James Greenhalgh <james.greenhalgh@arm.com>
>
> * config/aarch64/aarch64-protos.h
> (aarch64_split_combinev16qi): New.
> (aarch64_expand_vec_perm): Likewise.
> (aarch64_expand_vec_perm_const): Likewise.
> * config/aarch64/aarch64-simd.md (vec_perm_const<mode>): New.
> (vec_perm<mode>): Likewise.
> (aarch64_tbl1<mode>): Likewise.
> (aarch64_tbl2v16qi): Likewise.
> (aarch64_combinev16qi): New.
> * config/aarch64/aarch64.c
> (aarch64_vectorize_vec_perm_const_ok): New.
> (aarch64_split_combinev16qi): Likewise.
> (MAX_VECT_LEN): Define.
> (expand_vec_perm_d): New.
> (aarch64_expand_vec_perm_1): Likewise.
> (aarch64_expand_vec_perm): Likewise.
> (aarch64_evpc_tbl): Likewise.
> (aarch64_expand_vec_perm_const_1): Likewise.
> (aarch64_expand_vec_perm_const): Likewise.
> (aarch64_vectorize_vec_perm_const_ok): Likewise.
> (TARGET_VECTORIZE_VEC_PERM_CONST_OK): Likewise.
> * config/aarch64/iterators.md
> (unspec): Add UNSPEC_TBL, UNSPEC_CONCAT.
> (V_cmp_result): Add mapping for V2DF.
>
> gcc/testsuite/
>
> 2012-12-04 James Greenhalgh <james.greenhalgh@arm.com>
>
> * lib/target-supports.exp
> (check_effective_target_vect_perm): Allow aarch64*-*-*.
> (check_effective_target_vect_perm_byte): Likewise.
> (check_effective_target_vect_perm_short): Likewise.
> (check_effective_target_vect_char_mult): Likewise.
> (check_effective_target_vect_extract_even_odd): Likewise.
> (check_effective_target_vect_interleave): Likewise.
next prev parent reply other threads:[~2012-12-04 22:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-04 10:31 James Greenhalgh
2012-12-04 10:36 ` [Patch AArch64] Add zip{1, 2}, uzp{1, 2}, trn{1, 2} support for vector permute James Greenhalgh
2012-12-04 22:45 ` Marcus Shawcroft
2012-12-04 22:44 ` Marcus Shawcroft [this message]
2012-12-06 16:25 ` [Patch AArch64] Implement Vector Permute Support James Greenhalgh
2014-01-07 23:10 ` Andrew Pinski
[not found] ` <72A61951-68B2-4776-A2B8-05DC4E1F53A7@arm.com>
2014-01-08 0:10 ` Andrew Pinski
2014-01-08 11:00 ` James Greenhalgh
2014-01-14 15:19 ` Alex Velenko
2014-01-14 15:51 ` pinskia
2014-01-16 14:43 ` Alex Velenko
2014-01-17 15:55 ` Richard Earnshaw
2014-01-20 11:15 ` Alex Velenko
2014-01-20 11:17 ` Richard Earnshaw
2014-01-20 17:33 ` Alex Velenko
2014-01-20 18:36 ` Marcus Shawcroft
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=CAFqB+PxpZOQyQf+pKQMdavxSCuNzP1xNjYP54dN4-OFD6zQhLg@mail.gmail.com \
--to=marcus.shawcroft@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=james.greenhalgh@arm.com \
--cc=marcus.shawcroft@arm.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).