Abstract: In order to generate high-quality target code for the indirect addressing mode of digital signal processors, an address allocation adaptive genetic algorithm is proposed. The core idea of the algorithm is to encode the address allocation scheme in binary, calculate the fitness function by the inverse of the sum of non-adjacent marks of the address register change trajectory, and then use the adaptive strategy to perform sequential crossover and exchange mutation operations on individuals with high fitness with a lower probability, so that good genes can be protected and enter the next generation, and give individuals with low fitness a higher probability, so that poor genes are eliminated, so as to escape from the local optimum and converge quickly. Through simulation experiments on a large number of random variable access sequences, the results show that the algorithm has high operating efficiency, and the address calculation instruction cost is reduced by 11% and 8% compared with Liao\'s algorithm and Leupers\' algorithm respectively. Keywords: address allocation; adaptive genetic algorithm; increment/decrement
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore