re PR target/71663 (aarch64 Vector initialization can be improved slightly)
commit85c1b6d7c855fd1b76a385af2b7f2c56bf3b7f11
authorAndrew Pinski <apinski@cavium.com>
Wed, 14 Jun 2017 10:20:07 +0000 (14 10:20 +0000)
committerNaveen H.S <naveenh@gcc.gnu.org>
Wed, 14 Jun 2017 10:20:07 +0000 (14 10:20 +0000)
tree602c57f01303056a37e94a03f95b559c01a14a08
parentbee9e49f6ccbb2abcfc5fb9f2d16d82132eb6e81
re PR target/71663 (aarch64 Vector initialization can be improved slightly)

PR target/71663
gcc
* config/aarch64/aarch64.c (aarch64_expand_vector_init):
Improve vector initialization code gen for only variable case.

gcc/testsuite
* gcc.target/aarch64/vect-init-1.c: Newtestcase.
* gcc.target/aarch64/vect-init-2.c: Likewise.
* gcc.target/aarch64/vect-init-3.c: Likewise.
* gcc.target/aarch64/vect-init-4.c: Likewise.
* gcc.target/aarch64/vect-init-5.c: Likewise.

Co-Authored-By: Naveen H.S <Naveen.Hurugalawadi@cavium.com>
From-SVN: r249187
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/vect-init-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/vect-init-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/vect-init-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/vect-init-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/vect-init-5.c [new file with mode: 0644]