public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: gcc-patches@gcc.gnu.org
Subject: [committed] Fix lto/simd_function_0.c testcase (PR testsuite/70581)
Date: Thu, 07 Apr 2016 21:47:00 -0000	[thread overview]
Message-ID: <20160407214706.GL19207@tucnak.redhat.com> (raw)

Hi!

This fixes this testcase when using assembler that doesn't support AVX512F,
which is now required for simd clones (previously it has been just avx2
and thus avx2 effective target has been sufficient).

Regtested on x86_64-linux, committed to trunk.

2016-04-07  Jakub Jelinek  <jakub@redhat.com>

	PR testsuite/70581
	* gcc.dg/lto/simd-function_0.c: New test.

--- gcc/testsuite/gcc.dg/lto/simd-function_0.c.jj	2015-10-29 09:14:35.000000000 +0100
+++ gcc/testsuite/gcc.dg/lto/simd-function_0.c	2016-04-07 18:50:46.975624860 +0200
@@ -1,4 +1,5 @@
 /* { dg-lto-do link } */
+/* { dg-require-effective-target vect_simd_clones } */
 /* { dg-require-effective-target avx2 } */
 /* { dg-lto-options { { -fopenmp-simd -O3 -ffast-math -mavx2 -flto -flto-partition=max } } } */
 

	Jakub

                 reply	other threads:[~2016-04-07 21:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20160407214706.GL19207@tucnak.redhat.com \
    --to=jakub@redhat.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).