Skip to content

Commit

Permalink
added makefile define SSE2 to enable specially optimized code [Oliver…
Browse files Browse the repository at this point in the history
… Stöneberg]
  • Loading branch information
oliverst committed Apr 7, 2014
1 parent b24c029 commit 82c3a89
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ BUILD_MIDILIB = 1
# uncomment next line to enable networking
# USE_NETWORK = 1

# uncomment to enable SSE2 optimized code and SSE2 code generation
# SSE2 = 1

# specify optimization level or leave commented to use the default
# (default is OPTIMIZE = 3 normally, or OPTIMIZE = 0 with symbols)
# OPTIMIZE = 3
Expand Down Expand Up @@ -534,6 +537,10 @@ CCOMFLAGS += -flto
endif
endif

ifdef SSE2
CCOMFLAGS += -msse2
endif

# add a basic set of warnings
CCOMFLAGS += \
-Wall \
Expand Down

0 comments on commit 82c3a89

Please sign in to comment.