Re: [PATCH][AArch64]Fix offset glitch in load reg pair pattern

2014-08-01 Thread Marcus Shawcroft
On 29 July 2014 16:25, Jiong Wang wrote: > gcc/ > * config/aarch64/aarch64.md (loadwb_pair_): Fix offset. > (loadwb_pair_): Likewise. > * config/aarch64/aarch64.c (aarch64_gen_loadwb_pair): Likewise. OK /Marcus

[PATCH][AArch64]Fix offset glitch in load reg pair pattern

2014-07-29 Thread Jiong Wang
on aarch64, we are using load register pair post-writeback instruction in epilogue. for example, for the following instruction: ldp, x0, x1, [sp], #16 what it's doing is: x0 <- MEM(sp + 0) x1 <- MEM(sp + 8) sp < sp + 16 while there is a glitch in our loadwb_pair* pattern, the restore of the