Commit e54170f4 by Chung-Lin Tang Committed by Chung-Lin Tang

arm.c (neon_struct_mem_operand): Support POST_INC/PRE_DEC memory operands.

2011-04-17  Chung-Lin Tang  <cltang@codesourcery.com>

	* config/arm/arm.c (neon_struct_mem_operand): Support POST_INC/PRE_DEC
	memory operands.

From-SVN: r172617
parent b14ee6c9
2011-04-17 Chung-Lin Tang <cltang@codesourcery.com>
* config/arm/arm.c (neon_struct_mem_operand): Support POST_INC/PRE_DEC
memory operands.
2011-04-17 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global
......
......@@ -9070,6 +9070,11 @@ neon_struct_mem_operand (rtx op)
if (GET_CODE (ind) == REG)
return arm_address_register_rtx_p (ind, 0);
/* vldm/vstm allows POST_INC (ia) and PRE_DEC (db). */
if (GET_CODE (ind) == POST_INC
|| GET_CODE (ind) == PRE_DEC)
return arm_address_register_rtx_p (XEXP (ind, 0), 0);
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment