[AArch64] Fix INSR for zero floats
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 7 Aug 2019 19:15:58 +0000 (19:15 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 7 Aug 2019 19:15:58 +0000 (19:15 +0000)
commit9b6fb97c99abe64147f82a3ea6e6ed598e387482
treea17e8c78f837d27323e987efa07cd86a13a484aa
parent61ee25b9e7d84fbb18218887d1fecfb10f72993a
[AArch64] Fix INSR for zero floats

We used INSR to handle zero integers but not zero floats.

2019-08-07  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/constraints.md (Z): Handle floating-point zeros too.
* config/aarch64/predicates.md (aarch64_reg_or_zero): Likewise.

gcc/testsuite/
* gcc.target/aarch64/sve/init_13.c: New test.

From-SVN: r274193
gcc/ChangeLog
gcc/config/aarch64/constraints.md
gcc/config/aarch64/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/init_13.c [new file with mode: 0644]