r277830 svn:log changed - in /trunk/gcc/testsui...
krebbel@gcc.gnu.org
krebbel@gcc.gnu.org
Tue Nov 5 16:09:00 GMT 2019
Author: krebbel
Revision: 277830
Modified property: svn:log
Modified: svn:log at Tue Nov 5 16:09:57 2019
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Tue Nov 5 16:09:57 2019
@@ -1,18 +1,23 @@
-IBM Z: gen-vect-11/32: Set min-vect-loop-bound param back
- to default
+IBM Z: Fix testsuite useable_hw check
-In the Z backend we still set min-vect-loop-bound to 2 to work around
-corner cases where awkward epilogue code gets generated in the
-vectorizer. This has a particular bad impact when vectorizing loops
-with a low iteration count. Due to this we do not vectorize the loop
-in gen-vect-11/32 - what actually is a pity.
+This fixes various issues with the useable_hw check in s390.exp. The
+check is supposed to verify whether a testcase can be run on the
+current hardware.
-The patch sets min-vect-loop-bound back to the default value of 0 in
-order to enable vectorization.
+- the test never returned true for -m31 because vzero is not available
+ in ESA mode and -m31 defaults to -mesa
+- the missing v0 clobber on the vzero instruction made the check fail
+ if the stack pointer got saved in f0
+- the lcbb instruction used for checking whether we are on a z13
+ also requires vx. Replace it with an instruction from the generic
+ instruction set extensions.
+- no support for z14 and z15 so far
+
+gcc/testsuite/ChangeLog:
2019-11-05 Andreas Krebbel <krebbel@linux.ibm.com>
- * gcc.dg/tree-ssa/gen-vect-11.c: Add --param min-vect-loop-bound=0
- for IBM Z.
- * gcc.dg/tree-ssa/gen-vect-11.c: Likewise.
-
+ * gcc.target/s390/s390.exp
+ (check_effective_target_s390_useable_hw): Add inline asm for z14
+ and z15. Replace instruction for z13 with lochiz. Add register
+ clobbers. Check also for __zarch__ when doing the __VX__ test.
More information about the Gcc-cvs
mailing list