src/audio/SDL_mixer_MMX.c
branchSDL-1.2
changeset 4322 a8e5b518e194
parent 4159 a1b03ba2fcd0
child 6137 4720145f848b
equal deleted inserted replaced
4321:c9a1de1eda57 4322:a8e5b518e194
    33 
    33 
    34 /***********************************************
    34 /***********************************************
    35 *   Mixing for 16 bit signed buffers
    35 *   Mixing for 16 bit signed buffers
    36 ***********************************************/
    36 ***********************************************/
    37 
    37 
       
    38 #if defined(SDL_BUGGY_MMX_MIXERS) /* buggy, so we're disabling them. --ryan. */
    38 #if defined(__GNUC__) && defined(__i386__) && defined(SDL_ASSEMBLY_ROUTINES)
    39 #if defined(__GNUC__) && defined(__i386__) && defined(SDL_ASSEMBLY_ROUTINES)
    39 void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume)
    40 void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume)
    40 {
    41 {
    41     __asm__ __volatile__ (
    42     __asm__ __volatile__ (
    42 
    43 
   201 	 "m"(volume)
   202 	 "m"(volume)
   202 	 : "eax","edx","memory"
   203 	 : "eax","edx","memory"
   203 	 );
   204 	 );
   204 }
   205 }
   205 #endif
   206 #endif
   206 
   207 #endif