From b1caf4a07d888b257b984c25b52548dabe0ff0ab Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Thu, 4 Feb 2010 08:45:38 +0000 Subject: Use all available codec iram for reciprocal table in APE codec on ARMv4. Done by linking first with the table empty to determine free space, then sizing table to fill it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24507 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/demac/libdemac/udiv32_arm-pre.S | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 apps/codecs/demac/libdemac/udiv32_arm-pre.S (limited to 'apps/codecs/demac/libdemac/udiv32_arm-pre.S') diff --git a/apps/codecs/demac/libdemac/udiv32_arm-pre.S b/apps/codecs/demac/libdemac/udiv32_arm-pre.S new file mode 100644 index 0000000000..882d9b6f50 --- /dev/null +++ b/apps/codecs/demac/libdemac/udiv32_arm-pre.S @@ -0,0 +1,25 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2010 by Andrew Mahone + * + * Wrapper for udiv32_arm.S to test available IRAM by pre-linking the codec. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#define APE_PRE +#include "udiv32_arm.S" \ No newline at end of file -- cgit v1.2.3