OSDN Git Service

* config/arm/arm.h (MAX_LDM_STM_OPS): New macro.
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 2010 22:46:38 +0000 (22:46 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:00:13 +0000 (14:00 +0900)
commitc5b863080eeb734f1a868bfa486ddc3f9a955526
treed2750048534e608f9c86699d54dfbb53c641ebcc
parent09f0274a41880a77d1827c16faa5e9e233b68510
* config/arm/arm.h (MAX_LDM_STM_OPS): New macro.
* config/arm/arm.c (multiple_operation_profitable_p,
compute_offset_order): New static functions.
(load_multiple_sequence, store_multiple_sequence): Use them.
Replace constant 4 with MAX_LDM_STM_OPS.  Compute order[0] from
memory offsets, not register numbers.
(emit_ldm_seq, emit_stm_seq): Replace constant 4 with MAX_LDM_STM_OPS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159089 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog