[AArch64] Fix ICE on (const_double:HF 0.0)
authorAlan Lawrence <alan.lawrence@arm.com>
Tue, 3 Nov 2015 10:35:31 +0000 (10:35 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Tue, 3 Nov 2015 10:35:31 +0000 (10:35 +0000)
commit04f725b90712254596630764cb2d5c69585d7337
tree88085aa408086c228a731b209d30e855c4021e2d
parentc7cf4ff97e86790f7a0bf2b340d2cd25a7278057
[AArch64] Fix ICE on (const_double:HF 0.0)

gcc/:

* config/aarch64/aarch64.md (*movhf_aarch64): Use
aarch64_reg_or_fp_zero for second operand.

gcc/testsuite/:

* gcc.target/aarch64/fp16/set_zero_1.c: New.

From-SVN: r229701
gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/fp16/set_zero_1.c [new file with mode: 0644]