diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2019-11-05 13:27:59 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2019-11-05 13:27:59 +0000 |
commit | d8e5ca292046561482b3aad266b1ac1558c9bd95 (patch) | |
tree | 21d59ec37757d323bd1c84e7bfe372dbf1d5ef33 /gcc/tree-ssa-threadedge.c | |
parent | 76d8b4d1ada1d9a6c1408b9b94b0baa31d1f3c0c (diff) | |
download | gcc-d8e5ca292046561482b3aad266b1ac1558c9bd95.zip gcc-d8e5ca292046561482b3aad266b1ac1558c9bd95.tar.gz gcc-d8e5ca292046561482b3aad266b1ac1558c9bd95.tar.bz2 |
IBM Z: Fix testsuite useable_hw check
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 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.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.
From-SVN: r277830
Diffstat (limited to 'gcc/tree-ssa-threadedge.c')
0 files changed, 0 insertions, 0 deletions