Re[2]: [cc65] optimizer?

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2001-06-25 21:02:42


Hello paul,

sp> Instead I would design a super assembler (I think Atari did this) where you
sp> put in what you want to do
sp> , like shift so many times, then the super assembler spits out the optimal
sp> assembly language for the purpose.
sp> I think that this would be easier to implement than having an "optimizer"
sp> reverse engineer your assembly code.
sp> Microsoft MASM does this for the 8086.  They called it their "smart"
sp> assembler.

well, in a way, ca65 already works that way.... take the predefined
macros for conditional jumps for eg. .... however, the point of having
a "real" optimizer is beeing able to optimize across those "atomic"
instructions (or better, one line of assembler code)

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:40 CET