On 08/07/2012 08:44 PM, Lennart Sorensen wrote:
I wonder where you could get cycle counts for each instruction. I remember seeing them years ago for 8085 and such, but no idea of freescale provides them.
I remember that the 68332 documentation does provide cycle count. the calculation is complicated, as it depends on the count of cycles necessary to access the different memory areas that are accessed.

I don't see why a decent (not Coldfire aware) 68K-compiler should
not extensively use these features to create highly optimized code.
Well if you can find a decent compiler it ought to do that.
In fact I found that the compiler does create decent code for non-volatile variables but when specifying volatile the code gets a lot worse, even though the normal code already fulfills all specs necessary for volatile variables.

-Michael
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to