diff options
Diffstat (limited to 'apps/codecs/libmad/layer3.c')
-rw-r--r-- | apps/codecs/libmad/layer3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libmad/layer3.c b/apps/codecs/libmad/layer3.c index 64169a7cbd..38e488ddbb 100644 --- a/apps/codecs/libmad/layer3.c +++ b/apps/codecs/libmad/layer3.c | |||
@@ -46,7 +46,7 @@ | |||
46 | # include "layer3.h" | 46 | # include "layer3.h" |
47 | 47 | ||
48 | /* depending on the cpu "leftshift32" may be supported or not */ | 48 | /* depending on the cpu "leftshift32" may be supported or not */ |
49 | # if defined(CPU_COLDFIRE) && !defined(SIMULATOR) | 49 | # if defined(CPU_COLDFIRE) |
50 | #define MAXLSHIFT 32 | 50 | #define MAXLSHIFT 32 |
51 | #else | 51 | #else |
52 | #define MAXLSHIFT 31 | 52 | #define MAXLSHIFT 31 |
@@ -1569,7 +1569,7 @@ void III_aliasreduce(mad_fixed_t xr[576], int lines) | |||
1569 | # if defined(ASO_ZEROCHECK) | 1569 | # if defined(ASO_ZEROCHECK) |
1570 | if (a | b) { | 1570 | if (a | b) { |
1571 | # endif | 1571 | # endif |
1572 | # if defined(CPU_COLDFIRE) && !defined(SIMULATOR) | 1572 | # if defined(CPU_COLDFIRE) |
1573 | (void)hi, (void)lo; | 1573 | (void)hi, (void)lo; |
1574 | asm volatile ("mac.l %[a], %[csi], %%acc0\n\t" | 1574 | asm volatile ("mac.l %[a], %[csi], %%acc0\n\t" |
1575 | "msac.l %[b], %[cai], %%acc0\n\t" | 1575 | "msac.l %[b], %[cai], %%acc0\n\t" |
@@ -1796,7 +1796,7 @@ void imdct36(mad_fixed_t const x[18], mad_fixed_t y[36]) | |||
1796 | * DESCRIPTION: perform X[18]->x[36] IMDCT | 1796 | * DESCRIPTION: perform X[18]->x[36] IMDCT |
1797 | */ | 1797 | */ |
1798 | 1798 | ||
1799 | # if defined(CPU_COLDFIRE) && !defined(SIMULATOR) | 1799 | # if defined(CPU_COLDFIRE) |
1800 | /* emac optimized imdct36, it is very ugly and i hope to replace it soon. | 1800 | /* emac optimized imdct36, it is very ugly and i hope to replace it soon. |
1801 | * for now it is actually somewhat faster than the stock implementation. | 1801 | * for now it is actually somewhat faster than the stock implementation. |
1802 | */ | 1802 | */ |
@@ -2813,7 +2813,7 @@ void III_imdct_l(mad_fixed_t const X[18], mad_fixed_t z[36], | |||
2813 | * DESCRIPTION: perform IMDCT and windowing for short blocks | 2813 | * DESCRIPTION: perform IMDCT and windowing for short blocks |
2814 | */ | 2814 | */ |
2815 | 2815 | ||
2816 | # if defined(CPU_COLDFIRE) && !defined(SIMULATOR) | 2816 | # if defined(CPU_COLDFIRE) |
2817 | void III_imdct_s(mad_fixed_t const X[18], mad_fixed_t z[36]); | 2817 | void III_imdct_s(mad_fixed_t const X[18], mad_fixed_t z[36]); |
2818 | #else | 2818 | #else |
2819 | 2819 | ||