From f02cba80967b7e42d03962625394bf5d1691a59c Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 10 May 2007 13:16:08 +0000 Subject: Code cleaning - remove some unnecessary defined(SIMULATOR) checks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libmusepack/math.h | 4 ++-- apps/codecs/libmusepack/mpc_decoder.c | 2 +- apps/codecs/libmusepack/synth_filter.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/codecs/libmusepack') diff --git a/apps/codecs/libmusepack/math.h b/apps/codecs/libmusepack/math.h index eb9b0e9..f9e9d08 100644 --- a/apps/codecs/libmusepack/math.h +++ b/apps/codecs/libmusepack/math.h @@ -68,7 +68,7 @@ typedef mpc_int64_t MPC_SAMPLE_FORMAT_MULTIPLY; #define MAKE_MPC_SAMPLE(X) (MPC_SAMPLE_FORMAT)((double)(X) * (double)(((mpc_int64_t)1)<Y_L = Y_L; d->Y_R = Y_R; - #if defined(CPU_COLDFIRE)&& !defined(SIMULATOR) + #if defined(CPU_COLDFIRE) coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE); #endif } diff --git a/apps/codecs/libmusepack/synth_filter.c b/apps/codecs/libmusepack/synth_filter.c index 2b14c26..0dabe59 100644 --- a/apps/codecs/libmusepack/synth_filter.c +++ b/apps/codecs/libmusepack/synth_filter.c @@ -343,7 +343,7 @@ static void Synthese_Filter_float_internal(MPC_SAMPLE_FORMAT * OutData,MPC_SAMPL - #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) + #if defined(CPU_COLDFIRE) for ( k = 0; k < 32; k++, D += 16, V++ ) { asm volatile ( "movem.l (%[D]), %%d0-%%d3 \n\t" @@ -372,7 +372,7 @@ static void Synthese_Filter_float_internal(MPC_SAMPLE_FORMAT * OutData,MPC_SAMPL : [Data] "+a" (Data) : [V] "a" (V), [D] "a" (D) : "d0", "d1", "d2", "d3", "a5"); - #elif defined(CPU_ARM) && !defined(SIMULATOR) + #elif defined(CPU_ARM) for ( k = 0; k < 32; k++, V++ ) { asm volatile ( "ldmia %[D]!, { r0-r3 } \n\t" -- cgit v1.1