Re: [cc65] Optimizing C code

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-09-09 20:42:55


On Tue, Sep 09, 2003 at 06:44:03PM +0200, Groepaz wrote:
> also some line above..... replace "% 4" by "& 3" (not sure if the compiler is
> smart enough to do it for you)

The compiler will already do that if the operands are unsigned. Same for the
division, it will be converted to a shift.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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 : 2003-09-09 20:43:12 CEST