I am working on optimization of speech codec.
For the same optimized code , I got different MCPS values on simultor version and on linux mips cross compiler
I observed better performance result on simulator, on linux i got double MCPS value compared to simulator version
I used same flags (-O3,-funroll-loops), same ICACHE,DCACHE sizes in both the cases
and cycle ratio (2 instructions/cycle )also same for both cases
please help me
simulator version: GREEN HILLS MULTI 6.1
linux : mips-linux-uclibc-gcc cross compiler, GCC version 4.2.4