gcc.dg/tree-ssa/vector-4.c: Adjust for mmix.

Message ID alpine.BSF.2.20.16.2007262140400.14329@arjuna.pair.com
State New
Headers show
Series
  • gcc.dg/tree-ssa/vector-4.c: Adjust for mmix.
Related show

Commit Message

Hans-Peter Nilsson July 27, 2020, 1:41 a.m.
Again, the variables are "privatized" using ASM_PN_FORMAT for MMIX (but
apparently not for other targets) and the line to match looks like:
  D.1427 = VEC_PERM_EXPR <a::0, b::1, { 0, 4, 1, 5 }>;

gcc/testsuite:
	* gcc.dg/tree-ssa/vector-4.c: Adjust for mmix.

Patch

--- gcc/gcc/testsuite/gcc.dg/tree-ssa/vector-4.c.orig	Mon Jan 13 22:30:47 2020
+++ gcc/gcc/testsuite/gcc.dg/tree-ssa/vector-4.c	Mon Jul 27 03:31:36 2020
@@ -11,5 +11,6 @@  v4si vs (v4si a, v4si b)

 /* The compound literal should be placed directly in the vec_perm.  */
 /* Test is xfailed on 32-bit hppa*-*-* because target-callee-copies.  */
-/* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR <a, b, { 0, 4, 1, 5 }>;" 1 "gimple" { xfail { hppa*-*-* && { ! lp64 } } } } } */
+/* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR <a, b, { 0, 4, 1, 5 }>;" 1 "gimple" { target { ! mmix-knuth-mmixware } xfail { hppa*-*-* && { ! lp64 } } } } } */
+/* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR <a::., b::., { 0, 4, 1, 5 }>;" 1 "gimple" { target mmix-knuth-mmixware } } } */