Skip to content

Commit

Permalink
Disable unroll loops
Browse files Browse the repository at this point in the history
  • Loading branch information
m45t3r committed Oct 24, 2020
1 parent 32c9dcf commit 88c443c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ INCLUDE = -I pocketsnes \
CFLAGS = $(INCLUDE) -DRC_OPTIMIZED -DGCW_ZERO -DGCW_JOYSTICK -D__LINUX__ -D__DINGUX__ -DFOREVER_16_BIT -DFOREVER_16_BIT_SOUND -DLAGFIX
# CFLAGS += -ggdb3 -Og
CFLAGS += -Ofast -fdata-sections -ffunction-sections -mips32r2 -mno-mips16 -mplt -mno-shared
CFLAGS += -fomit-frame-pointer -fno-builtin -fno-common -flto=4
CFLAGS += -fomit-frame-pointer -fno-builtin -fno-common -flto=4 -fno-unroll-loops
CFLAGS += -DFAST_ALIGNED_LSB_WORD_ACCESS
CFLAGS += $(SDL_CFLAGS)
ifdef PROFILE_GEN
CFLAGS += -fprofile-generate -fprofile-dir=/media/data/local/home/profile/pocketsnes
else ifdef PROFILE_USE
CFLAGS += -fprofile-use -fprofile-dir=./profile
CFLAGS += -fprofile-use -fprofile-dir=./profile -Wno-error=coverage-mismatch
endif

CXXFLAGS = $(CFLAGS) -std=gnu++03 -fno-exceptions -fno-rtti -fno-math-errno -fno-threadsafe-statics
Expand Down

0 comments on commit 88c443c

Please sign in to comment.