This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ARM] Fix unaligned accessed generated when using -mthumb-mtpcs-frame


On Sat, 2005-05-21 at 21:00, Khem Raj wrote:
> Hi
> 
> This patch was hinted by Daniel Jacobowitz offline.
> The following patch fixes the unaligned stores generated when using 
> -mthumb -mtpcs-frame options for compiling.
> The register mask of the register to be stored should have been 
> multiplied by 4 for generating correct offsets. This only
> happens when the above mentioned options are used i.e when thumb 
> backtracking is on.
> 
> Tested  arm-none-eabi on arm-sim/-mthumb/-mtpcs-frame there were mass 
> failures without this patch. The test results are far better with the patch.

This should be UNITS_PER_WORD rather than '4'.  Otherwise OK.

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]