Re: cc0 -> CCmode questions

2019-11-02 Thread Segher Boessenkool
On Sat, Nov 02, 2019 at 10:14:15AM -0600, Jeff Law wrote: > On 11/2/19 9:51 AM, Georg-Johann Lay wrote: > > Segher Boessenkool schrieb: > >>> Btw, does GCC support clobbering registers in branches (or > >>> cbranch4 for that matter)?  This requirement would come up when > >>> transitioning avr to c

Re: cc0 -> CCmode questions

2019-11-02 Thread Jeff Law
On 11/2/19 9:51 AM, Georg-Johann Lay wrote: > Segher Boessenkool schrieb: >>> Btw, does GCC support clobbering registers in branches (or >>> cbranch4 for that matter)?  This requirement would come up when >>> transitioning avr to cc_mode because cbranches would live post reload. >> >> Of course.  Y

cc0 -> CCmode questions

2019-11-02 Thread Georg-Johann Lay
Segher Boessenkool schrieb: Btw, does GCC support clobbering registers in branches (or cbranch4 for that matter)? This requirement would come up when transitioning avr to cc_mode because cbranches would live post reload. Of course. You cannot have *reloads* on branches, that is all. Segher