diff options
author | Rhishikesh Agashe <Rhishikesh.Agashe@imgtec.com> | 2014-06-19 03:40:09 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2014-06-19 04:04:51 -0400 |
commit | f133bac6f9199ca79b6e63dabf1c9839d35d207f (patch) | |
tree | b06890b1cee301c04b08850f2091052e0527ef73 /Makefile.unix | |
parent | a88d8365d42e5369777afa496b43ea88a1aa9106 (diff) | |
download | opus-f133bac6f9199ca79b6e63dabf1c9839d35d207f.tar.gz |
MIPS optimizations
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'Makefile.unix')
-rw-r--r-- | Makefile.unix | 6 |
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 |