vshuf-mem.C: Make -march=z14 depend on s390_vxe

gcc/testsuite/ChangeLog:

	* g++.dg/torture/vshuf-mem.C: Use -march=z14 only, if the we are
	on a machine which can actually run it.

(cherry picked from commit 7e59f0c05da840ca13ba73d25947df8a4eaf199e)
This commit is contained in:
Andreas Krebbel 2024-06-17 21:50:27 +02:00 committed by Jakub Jelinek
parent b4e4997b1f
commit d26fa1c73b

View file

@ -1,6 +1,6 @@
// { dg-options "-std=c++11 -Wno-psabi" }
// { dg-do run }
// { dg-additional-options "-march=z14" { target s390*-*-* } }
// { dg-additional-options "-march=z14" { target s390_vxe } }
/* This used to trigger (2024-05-28) the vectorize_vec_perm_const
backend hook to be invoked with a MEM source operand. Extracted