[ARM] Optimize copysign/copysignf for soft-float using BFI
authorJiong Wang <jiong.wang@arm.com>
Fri, 28 Nov 2014 14:07:04 +0000 (14:07 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Fri, 28 Nov 2014 14:07:04 +0000 (14:07 +0000)
commit3403c4c78e001dd78904d4884647904a02c36c52
tree52d54564caa573d2942f85e929656820bb94558b
parent476ff787366cedb6f4123c0a5647522698570d5f
[ARM] Optimize copysign/copysignf for soft-float using BFI

  gcc/
    * config/arm/arm.md (copysignsf3): New pattern.
    (copysigndf3): Likewise.

  gcc/testsuite/
    * gcc.target/arm/copysign_softfloat_1.c: New copysign/copysignf
    testcase for soft-float.

From-SVN: r218159
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/copysign_softfloat_1.c [new file with mode: 0644]