This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix lto/simd_function_0.c testcase (PR testsuite/70581)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]