I could cite the new cflags? I'm doing tests with other emulators, but with the cflags I used did not increase much.
Thanks
I used
-O3 -march=mips32 -mtune=mips32r2 -fomit-frame-pointer -fsigned-char -ffast-math -G0 -mno-mips16 -pipe \
-falign-functions -falign-loops -falign-labels -falign-jumps -fexpensive-optimizations \
-fsingle-precision-constant -finline -finline-functions -fstrict-aliasing \
-fno-strength-reduce -funsafe-math-optimizations -mbranch-likely -funroll-loops \
-fprofile-use
But that's overkill. Probably you have to use
-O3 -ffast-math -march=mips32 -mtune=mips32r2 \
-G0 -mno-mips16 -fno-inline \
-fno-strength-reduce -fsingle-precision-constant -fsigned-char
Take a look at -fprofile-generate and -fprofile-use. First, compile with -fprofile-generate. Then run it on device with GCOV_PREFIX set somewhere on SD. Play some games(better to play minimum 2 different games), change some settings, just like you benchmarking it. Then you'll get some files in your GCOV_PREFIX. Copy it to your sources dir and build with -fprofile-use