Running the assembler and linker catches more errors.
* gcc.target/powerpc/cfuged-1.c,
* gcc.target/powerpc/cntlzdm-1.c,
* gcc.target/powerpc/cnttzdm-1.c,
* gcc.target/powerpc/dg-future-1.c,
* gcc.target/powerpc/lsbb-runnable.c,
* gcc.target/powerpc/mma-double-test.c,
* gcc.target/powerpc/mma-single-test.c,
* gcc.target/powerpc/p10-arch31.c,
* gcc.target/powerpc/p10-identify.c,
* gcc.target/powerpc/pdep-1.c,
* gcc.target/powerpc/pextd-1.c,
* gcc.target/powerpc/pr96787-2.c,
* gcc.target/powerpc/vec-blend-runnable.c,
* gcc.target/powerpc/vec-cfuged-1.c,
* gcc.target/powerpc/vec-clrl-1.c,
* gcc.target/powerpc/vec-clrl-3.c,
* gcc.target/powerpc/vec-clrr-1.c,
* gcc.target/powerpc/vec-clrr-3.c,
* gcc.target/powerpc/vec-cntlzm-1.c,
* gcc.target/powerpc/vec-cnttzm-1.c,
* gcc.target/powerpc/vec-extracth-1.c,
* gcc.target/powerpc/vec-extracth-3.c,
* gcc.target/powerpc/vec-extracth-5.c,
* gcc.target/powerpc/vec-extracth-7.c,
* gcc.target/powerpc/vec-extractl-1.c,
* gcc.target/powerpc/vec-extractl-3.c,
* gcc.target/powerpc/vec-extractl-5.c,
* gcc.target/powerpc/vec-extractl-7.c,
* gcc.target/powerpc/vec-gnb-1.c,
* gcc.target/powerpc/vec-insert-word-runnable.c,
* gcc.target/powerpc/vec-pdep-1.c,
* gcc.target/powerpc/vec-permute-ext-runnable.c,
* gcc.target/powerpc/vec-pext-1.c,
* gcc.target/powerpc/vec-replace-word-runnable.c,
* gcc.target/powerpc/vec-shift-double-runnable.c,
* gcc.target/powerpc/vec-splati-runnable.c,
* gcc.target/powerpc/vec-stril-1.c,
* gcc.target/powerpc/vec-stril-16.c,
* gcc.target/powerpc/vec-stril-17.c,
* gcc.target/powerpc/vec-stril-18.c,
* gcc.target/powerpc/vec-stril-19.c,
* gcc.target/powerpc/vec-stril-20.c,
* gcc.target/powerpc/vec-stril-21.c,
* gcc.target/powerpc/vec-stril-22.c,
* gcc.target/powerpc/vec-stril-23.c,
* gcc.target/powerpc/vec-stril-3.c,
* gcc.target/powerpc/vec-stril-5.c,
* gcc.target/powerpc/vec-stril-7.c,
* gcc.target/powerpc/vec-stril_p-1.c,
* gcc.target/powerpc/vec-stril_p-3.c,
* gcc.target/powerpc/vec-stril_p-5.c,
* gcc.target/powerpc/vec-stril_p-7.c,
* gcc.target/powerpc/vec-strir-1.c,
* gcc.target/powerpc/vec-strir-16.c,
* gcc.target/powerpc/vec-strir-17.c,
* gcc.target/powerpc/vec-strir-18.c,
* gcc.target/powerpc/vec-strir-19.c,
* gcc.target/powerpc/vec-strir-20.c,
* gcc.target/powerpc/vec-strir-21.c,
* gcc.target/powerpc/vec-strir-22.c,
* gcc.target/powerpc/vec-strir-23.c,
* gcc.target/powerpc/vec-strir-3.c,
* gcc.target/powerpc/vec-strir-5.c,
* gcc.target/powerpc/vec-strir-7.c,
* gcc.target/powerpc/vec-strir_p-1.c,
* gcc.target/powerpc/vec-strir_p-3.c,
* gcc.target/powerpc/vec-strir_p-5.c,
* gcc.target/powerpc/vec-strir_p-7.c,
* gcc.target/powerpc/vec-ternarylogic-1.c,
* gcc.target/powerpc/vec-ternarylogic-3.c,
* gcc.target/powerpc/vec-ternarylogic-5.c,
* gcc.target/powerpc/vec-ternarylogic-7.c,
* gcc.target/powerpc/vec-ternarylogic-9.c,
* gcc.target/powerpc/vsx_mask-count-runnable.c,
* gcc.target/powerpc/vsx_mask-expand-runnable.c,
* gcc.target/powerpc/vsx_mask-extract-runnable.c,
* gcc.target/powerpc/vsx_mask-move-runnable.c,
* gcc.target/powerpc/xxgenpc-runnable.c: Link testcase when it
can't be run.
Regstrapped powerpc64le-linux power10 and power8. OK?
diff --git a/gcc/testsuite/gcc.target/powerpc/cfuged-1.c
b/gcc/testsuite/gcc.target/powerpc/cfuged-1.c
index 198d541ef05..00883091714 100644
--- a/gcc/testsuite/gcc.target/powerpc/cfuged-1.c
+++ b/gcc/testsuite/gcc.target/powerpc/cfuged-1.c
@@ -1,6 +1,7 @@
-/* { dg-do run } */
+/* { dg-do run { target { power10_hw } } } */
+/* { dg-do link { target { ! power10_hw } } } */
/* { dg-require-effective-target lp64 } */
-/* { dg-require-effective-target power10_hw } */
+/* { dg-require-effective-target power10_ok } */
/* { dg-options "-mdejagnu-cpu=power10" } */
extern void abort (void);
diff --git a/gcc/testsuite/gcc.target/powerpc/cntlzdm-1.c
b/gcc/testsuite/gcc.target/powerpc/cntlzdm-1.c
index e9ee8354b59..a6bc2d65348 100644
--- a/gcc/testsuite/gcc.target/powerpc/cntlzdm-1.c
+++ b/gcc/testsuite/gcc.target/powerpc/cntlzdm-1.c
@@ -1,5 +1,6 @@
-/* { dg-do run } */
-/* { dg-require-effective-target power10_hw } */
+/* { dg-do run { target { power10_hw } } } */
+/* { dg-do link { target { ! power10_hw } } } */
+/* { dg-require-effective-target power10_ok } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-mdejagnu-cpu=power10" } */
diff --git a/gcc/testsuite/gcc.target/powe