This is the mail archive of the gcc-cvs@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]

r253846 - in /trunk/gcc/testsuite: ChangeLog gc...


Author: krebbel
Date: Wed Oct 18 08:21:45 2017
New Revision: 253846

URL: https://gcc.gnu.org/viewcvs?rev=253846&root=gcc&view=rev
Log:
S/390: Fix vec-cmp-2 testcase

The functions all call foo and therefore need a stack frame what makes
them subject to shrink wrapping.  Also all the additional instructions
in the function body makes it fragile wrt instruction scheduling.  Just
set a global variable instead to circumvent this.

gcc/testsuite/ChangeLog:

2017-10-18  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* gcc.target/s390/zvector/vec-cmp-2.c
	(all_eq_double, all_ne_double, all_gt_double)
	(all_lt_double, all_ge_double, all_le_double)
	(any_eq_double, any_ne_double, any_gt_double)
	(any_lt_double, any_ge_double, any_le_double)
	(all_eq_int, all_ne_int, all_gt_int)
	(all_lt_int, all_ge_int, all_le_int)
	(any_eq_int, any_ne_int, any_gt_int)
	(any_lt_int, any_ge_int, any_le_int): Set global variable instead
	of calling foo().  Fix return type.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/s390/zvector/vec-cmp-2.c


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