[ARM, AArch64] Make aarch-common.c files more robust.
authorJames Greenhalgh <james.greenhalgh@arm.com>
Fri, 8 Nov 2013 15:09:50 +0000 (15:09 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Fri, 8 Nov 2013 15:09:50 +0000 (15:09 +0000)
commitdf023e0f3e7228cc38677384dc7149368449066c
treec03514520f518989192968adacadf80fd0f89bbb
parent34d1ff06bf3d8df09bbb2c0caf7d4c6bc0de5d2a
[ARM, AArch64] Make aarch-common.c files more robust.

gcc/
* config/arm/aarch-common.c
(search_term): New typedef.
(shift_rtx_costs): New array.
(arm_rtx_shift_left_p): New.
(arm_find_sub_rtx_with_search_term): Likewise.
(arm_find_sub_rtx_with_code): Likewise.
(arm_early_load_addr_dep): Add sanity checking.
(arm_no_early_alu_shift_dep): Likewise.
(arm_no_early_alu_shift_value_dep): Likewise.
(arm_no_early_mul_dep): Likewise.
(arm_no_early_store_addr_dep): Likewise.

From-SVN: r204575
gcc/ChangeLog
gcc/config/arm/aarch-common.c