[ARM] Enable auto-vectorization for copysignf
authorJiong Wang <jiong.wang@arm.com>
Tue, 9 Sep 2014 12:29:36 +0000 (12:29 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Tue, 9 Sep 2014 12:29:36 +0000 (12:29 +0000)
commit97f518b3fe714bb026f8070aa475e86ddbcca509
treec16fc32b4d8965bc51c8fe032b60680a1cf133ac
parent1942d1a9e17406469aef7d38e927dd7a14f5b376
[ARM] Enable auto-vectorization for copysignf

  gcc/
    * config/arm/arm.c (NEON_COPYSIGNF): New enum.
    (arm_init_neon_builtins): Support NEON_COPYSIGNF.
    (arm_builtin_vectorized_function): Likewise.
    * config/arm/arm_neon_builtins.def: New macro for copysignf.
    * config/arm/neon.md (neon_copysignf<mode>): New pattern for vector
    copysignf.

  gcc/testsuite/
    * gcc.target/arm/vect-copysignf.c: New testcase.

From-SVN: r215067
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm_neon_builtins.def
gcc/config/arm/neon.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/vect-copysignf.c [new file with mode: 0644]