libretro / snes9x2002

Snes9x 2002. Port of SNES9x 1.39 for libretro (was previously called PocketSNES). Heavily optimized for ARM.
37 stars 46 forks source link

remove unneeded GCC flags (already enabled by -O3) #12

Closed joolswills closed 8 years ago

joolswills commented 8 years ago

These GCC parameters are not needed - on gcc on linux on ARM and x86_64 all are already enabled by O3 - (although falign-functions is not set to 32 - should be best left to target default imho)

on ARM (Linux on RPI)

gcc -Q --help=target | grep "structure-size"
  -mstructure-size-boundary=        0x20

on ARM and x86_64 gcc
gcc -Q --help=optimizers -O3 | grep "inline-function\|expensive-optimization\|align-loops\|align-labels\|align-jumps\|rename-registers\|web"
  -falign-jumps                     [enabled]
  -falign-labels                    [enabled]
  -falign-loops                     [enabled]
  -fexpensive-optimizations         [enabled]
  -finline-functions                [enabled]
  -finline-functions-called-once    [enabled]
  -frename-registers                [enabled]
  -fweb                             [enabled]