aarch64.md (mov<mode>:GPF): Don't call force_reg if op1 is an fp zero.
authorJim Wilson <jim.wilson@linaro.org>
Fri, 19 Jun 2015 17:22:38 +0000 (17:22 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 19 Jun 2015 17:22:38 +0000 (10:22 -0700)
commit490948ca36a1b9dc407930eba0e6dd52c83dac4d
treedd73baf67c8ce5485b478e5f8cbef72b8bac78cd
parent590f5d5125c96aa8e6e29463e37f23502f0bd673
aarch64.md (mov<mode>:GPF): Don't call force_reg if op1 is an fp zero.

gcc/
* config/aarch64/aarch64.md (mov<mode>:GPF): Don't call force_reg if
op1 is an fp zero.
(movsf_aarch64): Change condition from register_operand to
aarch64_reg_or_fp_zero for op1.  Change type for alternative 6 to
load1.  Change type for alternative 7 to store1.
(movdf_aarch64): Likewise.
gcc/testsuite/
* gcc.target/aarch64/fmovd-zero-mem.c: New.
* gcc.target/aarch64/fmovd-zero-reg.c: New.
* gcc.target/aarch64/fmovf-zero-mem.c: New.
* gcc.target/aarch64/fmovf-zero-reg.c: New.
* gcc.target/aarch64/fmovld-zero-mem.c: New.
* gcc.target/aarch64/fmovld-zero-mem.c: New.
* gcc.target/aarch64/fmovd-zero.c: Delete.
* gcc.target/aarch64/fmovf-zero.c: Delete.

From-SVN: r224673
gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/fmovd-zero-mem.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/fmovd-zero-reg.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/fmovd-zero.c [deleted file]
gcc/testsuite/gcc.target/aarch64/fmovf-zero-mem.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/fmovf-zero-reg.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/fmovf-zero.c [deleted file]
gcc/testsuite/gcc.target/aarch64/fmovld-zero-mem.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/fmovld-zero-reg.c [new file with mode: 0644]