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)
* 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

index 774d7c8..403a39f 100644 (file)
@@ -1,3 +1,13 @@
+2010-05-06  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * 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.
+
 2010-05-05  Steven Bosscher  <steven@gcc.gnu.org>
 
        * stor-layout.c (pending_sizes): Change the type to