comparison src/audio/SDL_mixer_MMX_VC.c @ 1149:ef03e8789d59

Same inline asm bug in S8 mixer, fixed last night, is also in the MSVC version.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 28 Sep 2005 03:34:24 +0000
parents b4117292e587
children 173c063d4f55
comparison
equal deleted inserted replaced
1148:63fb2da89a4b 1149:ef03e8789d59
105 105
106 mov edi, dst //movl %0,%%edi // edi = dst 106 mov edi, dst //movl %0,%%edi // edi = dst
107 mov esi, src //%1,%%esi // esi = src 107 mov esi, src //%1,%%esi // esi = src
108 mov eax, volume //%3,%%eax // eax = volume 108 mov eax, volume //%3,%%eax // eax = volume
109 109
110 movd mm0, ebx //%%ebx,%%mm0 110 movd mm0, eax //%%eax,%%mm0
111 movq mm1, mm0 //%%mm0,%%mm1 111 movq mm1, mm0 //%%mm0,%%mm1
112 psllq mm0, 16 //$16,%%mm0 112 psllq mm0, 16 //$16,%%mm0
113 por mm0, mm1 //%%mm1,%%mm0 113 por mm0, mm1 //%%mm1,%%mm0
114 psllq mm0, 16 //$16,%%mm0 114 psllq mm0, 16 //$16,%%mm0
115 por mm0, mm1 //%%mm1,%%mm0 115 por mm0, mm1 //%%mm1,%%mm0