[A89] Re: Quite in here... let's discuss something!


[Prev][Next][Index][Thread]

[A89] Re: Quite in here... let's discuss something!




I found a pretty cool optimizing document on the net:
http://www.programmersheaven.com/zone5/cat123/3663.htm

Especially this kind of optimizations I like:

MOVE.B Dx,-(A7)
MOVE.W (A7)+,Dx (16 clocks)
=
LSL.W #8,Dx   (22 clocks)

...

Hey cool, thanks to that document another optimalization can be made in the
sprite routine:

andi.b    #$F0,d0        ;8
lsr.l     #3,d0          ;12

can be optimized to:

LSR.W #4,D0              ;14
ADD.W D0,D0              ;4

...

hmm... CLR sux...

Bye,
Cheiz



References: