From f52c17851738b201ebafa45a055b748e9db12f4a Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 29 Jul 2007 16:40:11 +0000 Subject: Revert r14050 (apart from the non-related whitespace changes) and fix the S3C2440 (Gigabeat F/X) problems introduced by my r14041 commit in a slightly different way: Introduce a mad_iram.h file and centralise all IRAM-related decisions in there (similar to how Tremor does it). Now checks for CPU type (S3C2440) instead of target (TOSHIBA_GIGABEAT_F) and there is also a .ibss variable in syth_full_arm.S which shouldn't go in IRAM on S3C2440 targets. Closes FS#7500 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14057 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libmad/synth.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'apps/codecs/libmad/synth.c') diff --git a/apps/codecs/libmad/synth.c b/apps/codecs/libmad/synth.c index 00e00ad..6f5d2ec 100644 --- a/apps/codecs/libmad/synth.c +++ b/apps/codecs/libmad/synth.c @@ -1042,13 +1042,9 @@ void synth_full2(mad_fixed_t *pcm, mad_fixed_t (*fo)[8], mad_fixed_t (*fe)[8], mad_fixed_t const (*D0ptr)[32], mad_fixed_t const (*D1ptr)[32]); -/* This performs slower in IRAM on PP502x and there is no space in - mpegplayer on the PP5002 */ -#if !defined(CPU_PP502x) && !(CONFIG_CPU == PP5002 && defined(MPEGPLAYER)) && !defined(TOSHIBA_GIGABEAT_F) static void synth_full(struct mad_synth *synth, struct mad_frame const *frame, - unsigned int nch, unsigned int ns) ICODE_ATTR; -#endif + unsigned int nch, unsigned int ns) ICODE_ATTR_MPA_SYNTH; static void synth_full(struct mad_synth *synth, struct mad_frame const *frame, unsigned int nch, unsigned int ns) -- cgit v1.1