[PATCH][ARM] VFP load/store index

Daniel Jacobowitz drow@false.org
Thu Jul 30 06:05:00 GMT 2009


On Thu, Jul 30, 2009 at 01:32:41AM +0800, Chung-Lin Tang wrote:
> Hi,
> 
> This patch adds the VFP load/store constant index ranges to
> arm_legitimate_index_p(), which curiously has not already been added.
> 
> Currently without this patch, the VFP index ranges for SFmode lands
> into the +-4096 case, while DFmode gets handled by the LDRD/STRD
> index range of +-256; these are too wide and too narrow,
> respectively. The ARM coprocessor load/store index range of +-1020 is
> added for VFP in this patch.

Can't this be combined with the FPA/MAVERICK case immediately
preceeding?  The offsets should be the same.

Also, do you have a test case?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gcc-patches mailing list