Re: [cc65] Global zero page pointers

From: Dan <opendtv1yahoo.com>
Date: 2007-07-02 05:57:41
--- Ullrich von Bassewitz <uz@musoftware.de> wrote:

> On Sat, Jun 30, 2007 at 06:06:32PM -0700, Dan wrote:
> > Ullrich, can you confirm this is safe? It would
> only
> > be a problem if stores to regbank without
> subsequent
> > loads were optimized away. But as far as I can
> tell,
> > there is no such optimization.
> 
> I don't really understand, what you mean with
> "safe", but if in doubt, I
> wouldn't rely on the existing implementation. If the
> standard doesn't say that
> something is safe, chances are, that the
> implementation will change.

"the standard"? I'm just asking if any of the peephole
optimizer routines implicitly assume and rely on a
zero page variable always being an 'auto'. With this
change they can be either autos or globals.

Dan



       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Jul 2 05:57:51 2007

This archive was generated by hypermail 2.1.8 : 2007-07-02 05:57:55 CEST