Re: Help with lra

2016-08-24 Thread shmeel gutl
On 10-Aug-16 08:41 PM, Vladimir N Makarov wrote: As for memory constraint you should not to return true for a pseudo. Reload/LRA can figure out how to match a spilled pseudo with memory (but this constraint should be define_memory_constraint, i saw mistakes when people used different forms of

Re: Help with lra

2016-08-11 Thread shmeel gutl
On 10-Aug-16 08:41 PM, Vladimir N Makarov wrote: On 08/09/2016 12:33 AM, shmeel gutl wrote: On 03-Aug-16 12:10 AM, Vladimir Makarov wrote: On 08/02/2016 04:41 PM, shmeel gutl wrote: I am trying to enable lra for a propriety backend. I ran into one problem that I can't solve. In lra-constrain

Re: Help with lra

2016-08-10 Thread Vladimir N Makarov
On 08/09/2016 12:33 AM, shmeel gutl wrote: On 03-Aug-16 12:10 AM, Vladimir Makarov wrote: On 08/02/2016 04:41 PM, shmeel gutl wrote: I am trying to enable lra for a propriety backend. I ran into one problem that I can't solve. In lra-constraints.c:split_reg lra_create_new_reg can be called w

Re: Help with lra

2016-08-08 Thread shmeel gutl
On 03-Aug-16 12:10 AM, Vladimir Makarov wrote: On 08/02/2016 04:41 PM, shmeel gutl wrote: I am trying to enable lra for a propriety backend. I ran into one problem that I can't solve. In lra-constraints.c:split_reg lra_create_new_reg can be called with a hard code rclass of NO_REGS. It then qu

Re: Help with lra

2016-08-02 Thread Vladimir Makarov
On 08/02/2016 04:41 PM, shmeel gutl wrote: I am trying to enable lra for a propriety backend. I ran into one problem that I can't solve. In lra-constraints.c:split_reg lra_create_new_reg can be called with a hard code rclass of NO_REGS. It then queues a move instruction of the type set TYPE:

Help with lra

2016-08-02 Thread shmeel gutl
I am trying to enable lra for a propriety backend. I ran into one problem that I can't solve. In lra-constraints.c:split_reg lra_create_new_reg can be called with a hard code rclass of NO_REGS. It then queues a move instruction of the type set TYPE:new_reg TYPE:old_reg But the NO_REGS rclas