diff options
Diffstat (limited to 'apps/plugins/fractals/mandelbrot_set.h')
-rw-r--r-- | apps/plugins/fractals/mandelbrot_set.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/plugins/fractals/mandelbrot_set.h b/apps/plugins/fractals/mandelbrot_set.h index 4eeb68461b..2814d24e58 100644 --- a/apps/plugins/fractals/mandelbrot_set.h +++ b/apps/plugins/fractals/mandelbrot_set.h | |||
@@ -24,18 +24,13 @@ | |||
24 | #include "fractal_sets.h" | 24 | #include "fractal_sets.h" |
25 | 25 | ||
26 | /* CPU stuff */ | 26 | /* CPU stuff */ |
27 | #if CONFIG_CPU == SH7034 | 27 | #if defined CPU_COLDFIRE |
28 | #include "cpu_sh7043.h" | ||
29 | #elif defined CPU_COLDFIRE | ||
30 | #include "cpu_coldfire.h" | 28 | #include "cpu_coldfire.h" |
31 | #elif defined CPU_ARM | 29 | #elif defined CPU_ARM |
32 | #include "cpu_arm.h" | 30 | #include "cpu_arm.h" |
33 | #endif | 31 | #endif |
34 | 32 | ||
35 | #if CONFIG_CPU == SH7034 | 33 | #if defined CPU_COLDFIRE |
36 | #define MULS16_ASR10(a, b) muls16_asr10(a, b) | ||
37 | #define MULS32_ASR26(a, b) muls32_asr26(a, b) | ||
38 | #elif defined CPU_COLDFIRE | ||
39 | /* Needs the EMAC initialised to fractional mode w/o rounding and saturation */ | 34 | /* Needs the EMAC initialised to fractional mode w/o rounding and saturation */ |
40 | #define MULS32_INIT() coldfire_set_macsr(EMAC_FRACTIONAL) | 35 | #define MULS32_INIT() coldfire_set_macsr(EMAC_FRACTIONAL) |
41 | #define MULS16_ASR10(a, b) muls16_asr10(a, b) | 36 | #define MULS16_ASR10(a, b) muls16_asr10(a, b) |