Re: CC0 to CCmode conversion

2005-03-22 Thread James E Wilson
Denis Chertykov wrote: I think that sequence of compare + cond-jump will exists in any compiler pass. Combine can optimize away compares, if you have other instructions that set the condition code register to useful values. This optimization will only work correctly if instructions that set or c

Re: CC0 to CCmode conversion

2005-03-19 Thread Denis Chertykov
Bernardo Innocenti <[EMAIL PROTECTED]> writes: > Denis Chertykov wrote: > > > I have converted the AVR port from CC0 to CCmode. > > That's indeed very good news. Incidentally, CC0 > conversion of the AVR target was being discussed > in an off-list thread with Andy Hutchinson. > > > > But may

Re: CC0 to CCmode conversion

2005-03-19 Thread Björn Haase
Hi Denis, I have had a look at your patch. It generally seems to work. Presently it still misses some optimization where the old cc0 back-end was smarter. The testsuite also reports a couple of new failures. Yours, Björn. Here are a couple of cases where the old cc0 interface generated bette

Re: CC0 to CCmode conversion

2005-03-18 Thread Bernardo Innocenti
Denis Chertykov wrote: I have converted the AVR port from CC0 to CCmode. That's indeed very good news. Incidentally, CC0 conversion of the AVR target was being discussed in an off-list thread with Andy Hutchinson. But may be I have converted the port in wrong way. (It's because I was interested i