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:
parent
a4cad3d926
commit
44f8faa6cb
1 changed files with 6 additions and 1 deletions
|
@ -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 $@)
|
||||
|
|
Loading…
Reference in a new issue