Re: [PATCH] Add needed earlyclobber to fusion patterns

2021-06-16 Thread Segher Boessenkool
On Wed, Jun 16, 2021 at 01:51:16PM -0500, Aaron Sawdey wrote: > The add-logical and add-add fusion patterns all have constraint > alternatives "=0,1,&r,r" for the output (3). The inputs 0 and 1 > are used in the first fusion instruction and then either may be > reused as a temp for the output of th

[PATCH] Add needed earlyclobber to fusion patterns

2021-06-16 Thread Aaron Sawdey via Gcc-patches
The add-logical and add-add fusion patterns all have constraint alternatives "=0,1,&r,r" for the output (3). The inputs 0 and 1 are used in the first fusion instruction and then either may be reused as a temp for the output of the first insn which is input to the second. However, if input 2 is the