dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: coldfire EMAC routines

coldfire EMAC routines

From: Frieder Ferlemann <>
Date: Thu, 27 Oct 2005 16:50:13 +0200


thanks for adding the EMAC routines!)
I'm appending a patch (RFD) which tries to accomplish four things:

a) align labels to the size of the cache line
b) clears the accumulator before use
c) uses the fetched data to calculate the current
   and the next data. (for .order8 only and assuming an
   even number of input data)
d) reduce rounding error

a) probably very little effect
b) no effect if this is the only routine using the MAC
c) the mac rx,ry instruction uses only one instead of two cycles.
   (if input data is not fetched from zero wait state ram
   there will be an additional benefit)
d) probably very little effect except on very low volume

Not having the toolchain installed and not having any
hardware I did not test the appended patch (I most likely
introduced some errors).

Be warned, I do not know wether this assembles/performs better/works at all!

Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter

Received on 2005-10-27

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy