Tune compiler optimizations for libtta, gives a speedup of 1.1MHz on h300 and 0.4MHz on c200v1.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27405 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-07-12 16:37:03 +00:00
parent a4cad3d926
commit 44f8faa6cb

View file

@ -18,7 +18,12 @@ $(TTALIB): $(TTALIB_OBJ)
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
TTAFLAGS = $(filter-out -O%,$(CODECFLAGS))
TTAFLAGS += -O3 -funroll-loops
ifeq ($(CPU),coldfire)
TTAFLAGS += -O3
else
TTAFLAGS += -O2
endif
$(CODECDIR)/libtta/%.o: $(ROOTDIR)/apps/codecs/libtta/%.c
$(SILENT)mkdir -p $(dir $@)