auto-modifications is assumed. Memory address allocation method for DSPs of indirect addressing with indexed auto-modification is proposed. At first, address auto-modification amounts for a given program are analyzed. And then address allocation of program variables are moved and shifted, so that both indexed and simple auto-modifications are effectively exploited. For further reduction in overhead codes, memory address allocation method coupled with computational reordering is proposed. The proposed methods are applied to the existing compiler, nd generated codes prove their effectiveness.
Memory Addressing Mode1. Memory addresses are pointed by AR.2. AR can be post-modified for the next access by the following modifications.