[Aarch64, Patch] Update failing testcase pr62178.c
commit1cb656f82c5d03ce40495bbe59111ac3cc26b713
authorJackson Woodruff <jackson.woodruff@arm.com>
Wed, 13 Sep 2017 14:08:49 +0000 (13 14:08 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Wed, 13 Sep 2017 14:08:49 +0000 (13 14:08 +0000)
treebe9a908a98ee32fe0ca2cbaed13459fc5b876bfa
parentd0dda804153175636ebe0f2850263c8825b6d791
[Aarch64, Patch] Update failing testcase pr62178.c

This patch changes pr62178.c so that it now scans
for two `ldr`s, one into an `s` register, instead
of a `ld1r` as before. Also add a scan for an mla
instruction.

The `ld1r` was needed when this should have generated
a mla by vector. Now that we can generate an mla by
element instruction and can load directly into the
simd register, it is cheaper to not do the ld1r
which needlessly duplicates the single element used
across the whole vector register.

Committed on behalf of Jackson Woodruff

gcc/testsuite/

* gcc.target/aarch64/pr62178.c: Updated testcase
to scan for two ldrs and an mla.

From-SVN: r252086
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr62178.c