public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Stubbs <ams@codesourcery.com>
To: Andrew Jenner <andrew@codesourcery.com>,
	GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] amdgcn: Add instruction patterns for vector operations on complex numbers
Date: Tue, 21 Mar 2023 15:16:04 +0000	[thread overview]
Message-ID: <4c31ef19-cb67-e3d4-fb8a-4a7036e6aab8@codesourcery.com> (raw)
In-Reply-To: <5568381f-7705-d085-53c2-8cd28d010292@codesourcery.com>

On 21/03/2023 13:35, Andrew Jenner wrote:
> I have updated this patch to incorporate the feedback from Andrew 
> Stubbs. Tested on CDNA2 GFX90a.
> 
> gcc/ChangeLog:
> 
>      * config/gcn/gcn-protos.h (gcn_expand_dpp_swap_pairs_insn)
>      (gcn_expand_dpp_distribute_even_insn)
>      (gcn_expand_dpp_distribute_odd_insn): Declare.
>      * config/gcn/gcn-valu.md (@dpp_swap_pairs<mode>)
>      (@dpp_distribute_even<mode>, @dpp_distribute_odd<mode>)
>      (cmul<conj_op><mode>3, cml<addsub_as><mode>4, vec_addsub<mode>3)
>      (cadd<rot><mode>3, vec_fmaddsub<mode>4, vec_fmsubadd<mode>4)
>      (fms<mode>4<exec>, fms<mode>4_negop2<exec>, fms<mode>4)
>      (fms<mode>4_negop2): New patterns.
>      * config/gcn/gcn.cc (gcn_expand_dpp_swap_pairs_insn)
>      (gcn_expand_dpp_distribute_even_insn)
>      (gcn_expand_dpp_distribute_odd_insn): New functions.
>      * config/gcn/gcn.md: Add entries to unspec enum.
> 
> gcc/testsuite/ChangeLog:
> 
>      * gcc.target/gcn/complex.c: New test.

OK.

Andrew

      reply	other threads:[~2023-03-21 15:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-09 20:13 Andrew Jenner
2023-02-14 14:28 ` Andrew Stubbs
2023-03-21 13:35   ` Andrew Jenner
2023-03-21 15:16     ` Andrew Stubbs [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=4c31ef19-cb67-e3d4-fb8a-4a7036e6aab8@codesourcery.com \
    --to=ams@codesourcery.com \
    --cc=andrew@codesourcery.com \
    --cc=gcc-patches@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).