From cc94ae45a7f3b377a359f9652340e8c847da5ac6 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Thu, 23 Mar 2006 19:59:52 +0000 Subject: Keep assembler versions of DSP routines in dsp_arch.S files. This also solves the annoying register allocator problem when not using -fomit-frame-pointer for the Coldfire assembler optimised crossfeed routine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9215 a1c6a512-1295-4272-9138-f99709370657 --- apps/dsp_asm.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 apps/dsp_asm.h (limited to 'apps/dsp_asm.h') diff --git a/apps/dsp_asm.h b/apps/dsp_asm.h new file mode 100644 index 0000000000..ad08bc9f4b --- /dev/null +++ b/apps/dsp_asm.h @@ -0,0 +1,31 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2006 Thom Johansen + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#include + +#ifndef _DSP_ASM_H +#define _DSP_ASM_H + +#ifdef CPU_COLDFIRE +#define DSP_HAVE_ASM_CROSSFEED +void apply_crossfeed(int32_t* src[], int count); +#endif + +#endif + -- cgit v1.2.3