Re: 68K GNU Compiler

Michael Schnell <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
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
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.