[PATCH][AArch64] Fix PR63293

2014-09-19 Thread Jiong Wang
when generating instructions to access local variable, for example a local array, if the array size very big, then we need a temp reg to keep the intermediate index, then use that temp reg as base reg, so that ldr is capable of indexing the element. while this will cause trouble, because the

RE: [PATCH][AArch64] Fix PR63293

2014-09-19 Thread Wilco Dijkstra
> Jiong Wang wrote: > > when generating instructions to access local variable, for example a local > array, > > if the array size very big, then we need a temp reg to keep the intermediate > index, > then use that temp reg as base reg, so that ldr is capable of indexing the > element. > > whi

Re: [PATCH][AArch64] Fix PR63293

2014-09-25 Thread Jiong Wang
On 19/09/14 15:35, Wilco Dijkstra wrote: Jiong Wang wrote: when generating instructions to access local variable, for example a local array, if the array size very big, then we need a temp reg to keep the intermediate index, then use that temp reg as base reg, so that ldr is capable of index

Re: [PATCH][AArch64] Fix PR63293

2014-11-04 Thread Marcus Shawcroft
On 25 September 2014 17:32, Jiong Wang wrote: > > patch updated, please review. > > > 2014-09-25 Jiong Wang > 2014-09-25 Wilco Dijkstra > > gcc/ > PR target/63293 > * config/aarch64/aarch64.c (aarch64_expand_epiloue): Add barriers before > stack adjustment. OK /Marcus