[GCC, ARM] Backport trunk fix to 4.8 branch to properly handle rtx of ARM PLD instruction

Terry Guo terry.guo@arm.com
Wed Jan 15 09:23:00 GMT 2014


Hi there,

With trunk enhancement at
http://gcc.gnu.org/ml/gcc-patches/2013-11/msg00533.html, gcc can properly
handle PLD rtx. Otherwise the PLD rtx will be treated as SET rtx and gcc
will end up with ICE. The attached patch intends to back port this
enhancement to 4.8 branch. Tested with gcc regression test, no new
regressions. Is it ok to back port?

BR,
Terry

2014-01-15  Terry Guo  <terry.guo@arm.com>

	Backported from mainline r204575 and applied to file arm.c.
	2013-11-08  James Greenhalgh  <james.greenhalgh@arm.com>

	* 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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: backport-204575.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140115/a4a388d6/attachment.txt>


More information about the Gcc-patches mailing list