Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRhishikesh Agashe <Rhishikesh.Agashe@imgtec.com>2014-06-19 11:40:09 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2014-06-19 12:04:51 +0400
commitf133bac6f9199ca79b6e63dabf1c9839d35d207f (patch)
treeb06890b1cee301c04b08850f2091052e0527ef73 /Makefile.unix
parenta88d8365d42e5369777afa496b43ea88a1aa9106 (diff)
MIPS optimizations
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'Makefile.unix')
-rw-r--r--Makefile.unix6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.unix b/Makefile.unix
index 82b3d13b..464ca6bd 100644
--- a/Makefile.unix
+++ b/Makefile.unix
@@ -1,7 +1,7 @@
#################### COMPILE OPTIONS #######################
# Uncomment this for fixed-point build
-#FIXED_POINT=1
+FIXED_POINT=1
# It is strongly recommended to uncomment one of these
# VAR_ARRAYS: Use C99 variable-length arrays for stack allocation
@@ -45,7 +45,9 @@ ldflags-from-ldlibdirs = $(addprefix -L,$(1))
ldlibs-from-libs = $(addprefix -l,$(1))
WARNINGS = -Wall -W -Wstrict-prototypes -Wextra -Wcast-align -Wnested-externs -Wshadow
-CFLAGS += -O2 -g $(WARNINGS) -DOPUS_BUILD
+
+CFLAGS += -mips32r2 -mno-mips16 -std=gnu99 -O2 -g $(WARNINGS) -DENABLE_ASSERTIONS -DMIPSr1_ASM -DOPUS_BUILD -mdspr2 -march=74kc -mtune=74kc -mmt -mgp32
+
CINCLUDES = include silk celt
ifdef FIXED_POINT