Re: Question on ARM legitimate address for DImode

2010-12-21 Thread Jie Zhang
On 12/21/2010 06:12 PM, Richard Earnshaw wrote: On Tue, 2010-12-21 at 12:12 +0800, Jie Zhang wrote: Hi, While working on a bug, I found some code in ARM port that I don't understand. In ARM_LEGITIMIZE_RELOAD_ADDRESS and arm_legitimize_address, we allow a very small offset for DImode addressin

Re: Question on ARM legitimate address for DImode

2010-12-21 Thread Richard Earnshaw
On Tue, 2010-12-21 at 12:12 +0800, Jie Zhang wrote: > Hi, > > While working on a bug, I found some code in ARM port that I don't > understand. > > In ARM_LEGITIMIZE_RELOAD_ADDRESS and arm_legitimize_address, we allow a > very small offset for DImode addressing. > > In ARM_LEGITIMIZE_RELOAD_AD

Question on ARM legitimate address for DImode

2010-12-20 Thread Jie Zhang
Hi, While working on a bug, I found some code in ARM port that I don't understand. In ARM_LEGITIMIZE_RELOAD_ADDRESS and arm_legitimize_address, we allow a very small offset for DImode addressing. In ARM_LEGITIMIZE_RELOAD_ADDRESS: if (MODE == DImode || (MODE == DFmode && TARGET_SOFT_FLOAT))