public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix lto/simd_function_0.c testcase (PR testsuite/70581)
@ 2016-04-07 21:47 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2016-04-07 21:47 UTC (permalink / raw)
  To: gcc-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-07 21:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-07 21:47 [committed] Fix lto/simd_function_0.c testcase (PR testsuite/70581) Jakub Jelinek

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).