This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AVR: CC0 to CCmode conversion


Richard Henderson <rth@redhat.com> writes:

> On Sun, Mar 20, 2005 at 01:59:44PM +0300, Denis Chertykov wrote:
> > The reload will generate addhi3 and reload will have a problem with
> > two modified regs (ZCMP_FLAGS, CARRY_FLAGS) which will be a bad
> > surprise for reload. :( As I remember.
> 
> In order to expose the flags register before reload, you *must*

Precisely to say while reload_in_progress.

> have load, store, reg-reg move, and add operations that do not
> modify the flags.

They (load, store, add) can modify flags before reload.
(while no reload_in_progress)
Is this OK ?


Denis.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]