S/390: Improve result verification in test case vec-genmask-1.c.
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Tue, 23 Aug 2016 09:09:45 +0000 (09:09 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 23 Aug 2016 09:09:45 +0000 (09:09 +0000)
commit7ab4f354570d0961c6be259ebe704f6f4563bb67
treed403943a19fb4255c9be1a564e7726fa27f8314a
parentdeb9351fafe1032ced16f9608068f65930e06841
S/390: Improve result verification in test case vec-genmask-1.c.

THe attached patch improves checking of teh results of the subtests
"a" and "f".  As they share the same "vone" instruction, the duplicate
scan-assembler-times was bogus.  Moved "f" to a separate function to
fix this.  Also double check that no extra "vgmf" instructions are
used.

gcc/testsuite/ChangeLog:

2016-08-23  Dominik Vogt  <vogt@linux.vnet.ibm.com>

* gcc.target/s390/zvector/vec-genmask-1.c: Improve result
verification.

From-SVN: r239686
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/zvector/vec-genmask-1.c