Mercurial > sdl-ios-xcode
comparison src/audio/SDL_mixer_m68k.c @ 4374:124629b76853 SDL-1.2
Disable m68k assembly for Coldfire CPUs
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Fri, 06 Nov 2009 18:06:01 +0000 |
parents | a1b03ba2fcd0 |
children |
comparison
equal
deleted
inserted
replaced
4373:ab06accf1b96 | 4374:124629b76853 |
---|---|
25 m68k assembly mix routines | 25 m68k assembly mix routines |
26 | 26 |
27 Patrice Mandin | 27 Patrice Mandin |
28 */ | 28 */ |
29 | 29 |
30 #if defined(__M68000__) && defined(__GNUC__) | 30 #if defined(__M68000__) && !defined(__mcoldfire__) && defined(__GNUC__) |
31 void SDL_MixAudio_m68k_U8(char* dst, char* src, long len, long volume, char* mix8) | 31 void SDL_MixAudio_m68k_U8(char* dst, char* src, long len, long volume, char* mix8) |
32 { | 32 { |
33 __asm__ __volatile__ ( | 33 __asm__ __volatile__ ( |
34 | 34 |
35 "tstl %2\n" | 35 "tstl %2\n" |
206 : /* clobbered registers */ | 206 : /* clobbered registers */ |
207 "d0", "d1", "d2", "d3", "cc", "memory" | 207 "d0", "d1", "d2", "d3", "cc", "memory" |
208 ); | 208 ); |
209 } | 209 } |
210 #endif | 210 #endif |
211 |