Re: [cc65] Optimization possible?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-10-23 12:12:33
On Wed, Oct 21, 2009 at 04:27:14AM +0200, Groepaz wrote:
> > > the actual snippet was this:
> > >
> > > bcc L021A
> > > clc
> > > L021A:
> > >
> > > ...which is kinda pointless :)
> >
> > Can you give me a source code sample for which this code was generated?
>
> ;
> ; xEnd = x + len + 1;

That should be fixed now. The problem is the order of doing code replacements.
One order may be optimal for one case, but it may happen that another order
would be better for some other input code. So things like this may always
happen. After all, it's compiler generated, and not hand written assembly:-)

If you find other such pieces, please drop me a note.

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 Oct 23 12:16:20 2009

This archive was generated by hypermail 2.1.8 : 2009-10-23 12:16:23 CEST