[Patch AArch64] Reinstate CANNOT_CHANGE_MODE_CLASS to fix pr67609
authorJames Greenhalgh <james.greenhalgh@arm.com>
Wed, 9 Dec 2015 13:47:19 +0000 (13:47 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Wed, 9 Dec 2015 13:47:19 +0000 (13:47 +0000)
commit4c81f958b3f1b2a41e94d505c34b6d911502bb15
tree9d5c6037c38f9e1aad1f3b3a94c7657a04e32f77
parent08554c26c4541be7d6ec0fec4d8810e97f56caab
[Patch AArch64] Reinstate CANNOT_CHANGE_MODE_CLASS to fix pr67609

gcc/

PR rtl-optimization/67609
* config/aarch64/aarch64-protos.h
(aarch64_cannot_change_mode_class): Bring back.
* config/aarch64/aarch64.c
(aarch64_cannot_change_mode_class): Likewise.
* config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Likewise.
* config/aarch64/aarch64.md (aarch64_movdi_<mode>low): Use
zero_extract rather than truncate.
(aarch64_movdi_<mode>high): Likewise.

gcc/testsuite/

PR rtl-optimization/67609
* gcc.dg/torture/pr67609.c: New.

From-SVN: r231455
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr67609.c [new file with mode: 0644]