[RS6000] dg-do !compile and scan-assembler
authorAlan Modra <amodra@gmail.com>
Tue, 27 Oct 2020 07:02:13 +0000 (17:32 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 28 Oct 2020 00:28:10 +0000 (10:58 +1030)
commitec69fe4e984bb686844b81589033135d64985c60
treec139f8a868d48dd01b15e30c4de1c0946b190327
parentc25d317cf7d4ea8df0402feb939ce286e5f42988
[RS6000] dg-do !compile and scan-assembler

These tests never checked assembly, because .s files were not
produced.  One was looking for the wrong instructions.

A typical error log
PASS: gcc.target/powerpc/vec-permute-ext-runnable.c (test for excess errors)
gcc.target/powerpc/vec-permute-ext-runnable.c output file does not exist
UNRESOLVED: gcc.target/powerpc/vec-permute-ext-runnable.c scan-assembler-times \\mpermx\\M 10

* gcc.target/powerpc/vec-blend-runnable.c: Add save-temps.
* gcc.target/powerpc/vec-insert-word-runnable.c: Likewise.
* gcc.target/powerpc/vec-permute-ext-runnable.c: Likewise.
* gcc.target/powerpc/vec-replace-word-runnable.c: Likewise.
* gcc.target/powerpc/vec-splati-runnable.c: Likewise.
* gcc.target/powerpc/vec-ternarylogic-3.c: Likewise.
* gcc.target/powerpc/vec-ternarylogic-9.c: Likewise.
* gcc.target/powerpc/vsx_mask-count-runnable.c: Likewise.
* gcc.target/powerpc/vsx_mask-expand-runnable.c: Likewise.
* gcc.target/powerpc/vsx_mask-extract-runnable.c: Likewise.
* gcc.target/powerpc/vsx_mask-move-runnable.c: Likewise.
* gcc.target/powerpc/vec-shift-double-runnable.c: Likewise,
and correct assembly match.
12 files changed:
gcc/testsuite/gcc.target/powerpc/vec-blend-runnable.c
gcc/testsuite/gcc.target/powerpc/vec-insert-word-runnable.c
gcc/testsuite/gcc.target/powerpc/vec-permute-ext-runnable.c
gcc/testsuite/gcc.target/powerpc/vec-replace-word-runnable.c
gcc/testsuite/gcc.target/powerpc/vec-shift-double-runnable.c
gcc/testsuite/gcc.target/powerpc/vec-splati-runnable.c
gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-3.c
gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-9.c
gcc/testsuite/gcc.target/powerpc/vsx_mask-count-runnable.c
gcc/testsuite/gcc.target/powerpc/vsx_mask-expand-runnable.c
gcc/testsuite/gcc.target/powerpc/vsx_mask-extract-runnable.c
gcc/testsuite/gcc.target/powerpc/vsx_mask-move-runnable.c