From: Jeff Law <law@redhat.com>
To: Claudiu Zissulescu <claziss@gmail.com>, gcc-patches@gcc.gnu.org
Cc: fbedard@synopsys.com, andrew.burgess@embecosm.com, claziss@synopsys.com
Subject: Re: [PATCH] arc: Improve/add instruction patterns to better use MAC instructions.
Date: Fri, 6 Nov 2020 10:27:16 -0700 [thread overview]
Message-ID: <693a2335-0fdd-4eef-9c37-3b20e9fae10d@redhat.com> (raw)
In-Reply-To: <20201009142414.7038-1-claziss@synopsys.com>
On 10/9/20 8:24 AM, Claudiu Zissulescu wrote:
> From: Claudiu Zissulescu <claziss@gmail.com>
>
> ARC MYP7+ instructions add MAC instructions for vector and scalar data
> types. This patch adds a madd pattern for 16it datum that is using the
> 32bit MAC instruction, and dot_prod patterns for v4hi vector
> types. The 64bit moves are also upgraded by using vadd2 instuction.
>
> gcc/
> xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com>
>
> * config/arc/arc.c (arc_split_move): Recognize vadd2 instructions.
> * config/arc/arc.md (movdi_insn): Update pattern to use vadd2
> instructions.
> (movdf_insn): Likewise.
> (maddhisi4): New pattern.
> (umaddhisi4): Likewise.
> * config/arc/simdext.md (mov<mode>_int): Update pattern to use
> vadd2.
> (sdot_prodv4hi): New pattern.
> (udot_prodv4hi): Likewise.
> (arc_vec_<V_US>mac_hi_v4hi): Update/renamed to
> arc_vec_<V_US>mac_v2hiv2si.
> (arc_vec_<V_US>mac_v2hiv2si_zero): New pattern.
OK for the trunk. Sorry for the delay.
jeff
prev parent reply other threads:[~2020-11-06 17:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-09 14:24 Claudiu Zissulescu
2020-10-23 10:44 ` Claudiu Zissulescu Ianculescu
2020-11-06 17:27 ` Jeff Law [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=693a2335-0fdd-4eef-9c37-3b20e9fae10d@redhat.com \
--to=law@redhat.com \
--cc=andrew.burgess@embecosm.com \
--cc=claziss@gmail.com \
--cc=claziss@synopsys.com \
--cc=fbedard@synopsys.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).