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 markup in gcc.dg/vect/vect-cond-reduc-3.c


gcc.dg/vect/vect-cond-reduc-3.c had been failing on
arm-linux-gnueabihf since the test was added, because the test needs
support for VEC_COND_EXPR <float cmp float, int, int> whereas the target
only supports VEC_COND_EXPRs in which all modes are the same.  (I have
a fix for that, but it's not really stage 3 material.)

Tested on arm-linux-gnueabihf, aarch64-linux-gnu and x86_64-linux-gnu.
Applied as obvious.

Richard


2019-11-22  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
	* gcc.dg/vect/vect-cond-reduc-3.c: Require vect_cond_mixed
	rather than vect_condition.

Index: gcc/testsuite/gcc.dg/vect/vect-cond-reduc-3.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-cond-reduc-3.c	2019-10-31 17:15:22.610537252 +0000
+++ gcc/testsuite/gcc.dg/vect/vect-cond-reduc-3.c	2019-11-22 10:55:51.642277792 +0000
@@ -1,6 +1,6 @@
 /* Disabling epilogues until we find a better way to deal with scans.  */
 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
-/* { dg-require-effective-target vect_condition } */
+/* { dg-require-effective-target vect_cond_mixed } */
 /* { dg-require-effective-target vect_float } */
 
 #include "tree-vect.h"


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