public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Tom de Vries <Tom_deVries@mentor.com>,
	GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [nvptx, PATCH, 2/3 ] Add v2si support
Date: Fri, 23 Jun 2017 17:45:00 -0000	[thread overview]
Message-ID: <b69c5d20-96c5-d9b0-34b5-3a5b257d91a1@redhat.com> (raw)
In-Reply-To: <a998315c-fdfc-0ea9-dc26-4a782b99f6a6@mentor.com>

On 06/06/2017 07:05 AM, Tom de Vries wrote:
> Hi,
> 
> this patch adds v2si support to the nvptx target.
> 
> Tested in nvptx mainkernel mode and x86_64 accelerator mode.
> 
> OK for trunk?
> 
> Thanks,
> - Tom
> 
> 
> 0002-Add-v2si-support.patch
> 
> 
> Add v2si support
> 
> 2017-06-06  Tom de Vries  <tom@codesourcery.com>
> 
> 	* config/nvptx/nvptx-modes.def: New file.  Add V2SImode.
> 	* config/nvptx/nvptx.c (nvptx_ptx_type_from_mode): Handle V2SImode.
> 	(nvptx_vector_mode_supported): New function.  Allow V2SImode.
> 	(TARGET_VECTOR_MODE_SUPPORTED_P): Redefine to nvptx_vector_mode_supported.
> 	* config/nvptx/nvptx.md (VECIM): New mode iterator. Add V2SI.
> 	(mov<VECIM>_insn): New define_insn.
> 	(define_expand "mov<VECIM>): New define_expand.
> 
> 	* gcc.target/nvptx/slp-run.c: New test.
> 	* gcc.target/nvptx/slp.c: New test.
> 	* gcc.target/nvptx/v2si-cvt.c: New test.
> 	* gcc.target/nvptx/v2si-run.c: New test.
> 	* gcc.target/nvptx/v2si.c: New test.
> 	* gcc.target/nvptx/vec.inc: New test.
OK.
jeff

      reply	other threads:[~2017-06-23 17:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06 13:05 Tom de Vries
2017-06-23 17:45 ` 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=b69c5d20-96c5-d9b0-34b5-3a5b257d91a1@redhat.com \
    --to=law@redhat.com \
    --cc=Tom_deVries@mentor.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).