I\'m programming an embedded powerpc 32 system with a 32 kbyte 8-way set associative L2 instruction cache. To avoid cache thrashing we align functions in a way such that the tex
Use GCC's __attribute__(( aligned(size) )).
__attribute__(( aligned(size) ))
Or, pass -falign-functions=n on your GCC command line.
-falign-functions=n