rs6000: Improve p9-dimode* testcases
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 28 May 2019 11:45:48 +0000 (13:45 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Tue, 28 May 2019 11:45:48 +0000 (13:45 +0200)
commit392d2ff3bd6fc66a6683540fc33910ddef9bf6f1
treeea94bab744a19dac442602f469d39048c3a87a9f
parent8d2a3107980a1db83ab0d4bdc74e8c00e558b57b
rs6000: Improve p9-dimode* testcases

This removes the unnecessary restriction to 32-bit (all three ways).
It also scans for mtvsr*, not just mtvsrd.  Finally, it uses the "wa"
constraints instead of "wi" in the inline asm statements.

gcc/testsuite/
* gcc.target/powerpc/p9-dimode1.c: Don't restrict to -m64.  Check for
all mtvsr*, not just mtvsrd.  Use "wa" instead of "wi" constraints.
* gcc.target/powerpc/p9-dimode2.c: Ditto.

From-SVN: r271696
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/p9-dimode1.c
gcc/testsuite/gcc.target/powerpc/p9-dimode2.c