Re: [cc65] Optimization ideas

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2007-06-22 13:11:05
Hi!

On Thu, Jun 21, 2007 at 05:39:22PM -0700, Dan wrote:
> What causes this, by the
> way? I know that register saving may be interleaved
> with initialization, but why wouldn't the registers
> always be allocated starting at 0?

Because they may be allocated in more than one chunk depending on the
declaration.

> There are a couple ways to do it. You could make two
> passes through the function source code (only when
> needed), or you could do it at the assembly level. The
> two pass method is probably much easier.

Thanks. I'm still waiting that somebody sends me a "small patch" that makes a
two pass compiler with intermediate representation out of cc65 :-)

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jun 22 13:11:16 2007

This archive was generated by hypermail 2.1.8 : 2007-06-22 13:11:19 CEST