Re: [cc65] Optimization for size

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2006-04-05 09:38:22
On Wed, Apr 05, 2006 at 05:57:56AM +0200, Groepaz wrote:
> that sounds pretty extreme... are you sure you had the compiler optimization
> enabled? (also, did you check ftp://ftp.musoftware.de/pub/groepaz/opt65.c ?)

I could not test the thing because of flex constraints ("input rules are too
complicated (>= 32000 NFA states)"), but I had a look at it. What Andrew does
is to replace common blocks by subroutines. That works well with larger
programs. The flex rules look like they are targeted to a specific program, so
other programs won't benefit as much. Which is not a problem if you generate
new rules specific for a program.

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 Wed Apr 5 09:38:31 2006

This archive was generated by hypermail 2.1.8 : 2006-04-05 09:38:34 CEST