diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 19:40:55 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch) | |
tree | 98ec96946eeb2ae709cb0528cc6998e21bb9b290 /apps/plugins/fractals/mandelbrot_set.h | |
parent | 17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff) | |
download | rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip |
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
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) |