This is the mail archive of the
mailing list for the GCC project.
- To: gcc at gcc dot gnu dot org
- Subject: GCC Optimizations
- From: "Matt Minnis" <mminnis at prefres dot com>
- Date: Tue, 10 Oct 2000 13:28:14 -0500
I have some 68K code for the Coldfire (68K Compatable) and it is needing
Where should I look for the 68K optimizations?
The example is below.
I use -O4, but have also tried -O2 etc..
This is the C-code that annoys me:
register unsigned long *b = (unsigned long *)buffer;
register int c = 256/4;
*b++ = 0;
.. and this is the code generated with -O4 (and -O2):
.. and this is what I want it to be: