Re: ldr instruction selection in the aarch64 backend

2016-02-12 Thread Virendra Kumar Pathak
Hi Andrew, Thanks for explaining the process. On 5 February 2016 at 21:49, Pinski, Andrew < andrew.pin...@caviumnetworks.com> wrote: > aarch64_legitimate_address_hook_p is the place where the result of > aarch64_classify_address is returned to the middle-end. The middle-end > then knows that

RE: ldr instruction selection in the aarch64 backend

2016-02-05 Thread Pinski, Andrew
aarch64_legitimate_address_hook_p is the place where the result of aarch64_classify_address is returned to the middle-end. The middle-end then knows that possibility for a+b is a legitimate address so it forces x3 << 3 into a register and tries aarch64_legitimate_address_hook_p again.