summaryrefslogtreecommitdiffstats
path: root/apps/codecs/atrac3_rm.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2010-11-10 18:29:29 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2010-11-10 18:29:29 +0000
commitf51189fa4d16c138c951775a237326b807fdda89 (patch)
treeb1eb6613f15f02da344fb9cabe40ea9ba03ecf23 /apps/codecs/atrac3_rm.c
parent33af0dec28cf31be0ce7195b90546861efcce76f (diff)
downloadrockbox-f51189fa4d16c138c951775a237326b807fdda89.tar.gz
rockbox-f51189fa4d16c138c951775a237326b807fdda89.zip
Commit FS#11709 by me. Introduces ARMv5E optimized iQMF for atrac3 based on packed multiply instructions. Additionally, improves scheduling on arm9 and arm11 and forces cache alignment of buffers on all targets. Accuracy is slightly reduced, but still greater then 16 bit. Clip+ CPU clock required for LP2 files decreases by 13MHz and ARM11 by 18MHz. No performance or accuracy changes on armv4 or non-arm.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28549 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/atrac3_rm.c')
-rw-r--r--apps/codecs/atrac3_rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/atrac3_rm.c b/apps/codecs/atrac3_rm.c
index 6c559ec868..bad9831a25 100644
--- a/apps/codecs/atrac3_rm.c
+++ b/apps/codecs/atrac3_rm.c
@@ -30,7 +30,7 @@ CODEC_HEADER
static RMContext rmctx;
static RMPacket pkt;
-static ATRAC3Context q IBSS_ATTR;
+static ATRAC3Context q IBSS_ATTR __attribute__ ((aligned (32)));
static void init_rm(RMContext *rmctx)
{