From f133bac6f9199ca79b6e63dabf1c9839d35d207f Mon Sep 17 00:00:00 2001 From: Rhishikesh Agashe Date: Thu, 19 Jun 2014 03:40:09 -0400 Subject: MIPS optimizations Signed-off-by: Jean-Marc Valin --- Makefile.unix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile.unix') 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 -- cgit v1.2.3