Re: How to forbid register allocator to overlap bewteen DEST and SOURCE

2020-07-05 Thread jiejie_rong
Hi, Thanks for your reply :) Maybe there are some register limits in reload pass with my case like We need to expand to ‘mov’ and ‘madd’ first to get suitable registers. —Jojo 在 2020年7月3日 +0800 AM5:35,Jim Wilson ,写道: > On Wed, Jul 1, 2020 at 8:40 PM wrote: > > GCC see

Re: How to forbid register allocator to overlap bewteen DEST and SOURCE

2020-07-02 Thread Jim Wilson
On Wed, Jul 1, 2020 at 8:40 PM wrote: > GCC seems to overlap register bewteen DEST and SOURCE in different > machine mode, > Is there any target hooks to control this feature ? > I use ‘&’ to forbid register allocator to > overlap bewteen DEST and SOURCE, > but t

How to forbid register allocator to overlap bewteen DEST and SOURCE

2020-07-01 Thread jiejie_rong
Hi, GCC seems to overlap register bewteen DEST and SOURCE in different machine mode, Is there any target hooks to control this feature ? I use ‘&’ to forbid register allocator to overlap bewteen DEST and SOURCE, but there are some redundancy instructions in th