src/audio/SDL_mixer_MMX.c
changeset 1147 b580f7201543
parent 1019 e3b3130f3af8
child 1402 d910939febfa
equal deleted inserted replaced
1146:ab0154afe938 1147:b580f7201543
   119 {
   119 {
   120     __asm__ __volatile__ (
   120     __asm__ __volatile__ (
   121 
   121 
   122 "	movl %3,%%eax\n"	// eax = volume
   122 "	movl %3,%%eax\n"	// eax = volume
   123 
   123 
   124 "	movd %%edx,%%mm0\n"
   124 "	movd %%eax,%%mm0\n"
   125 "	movq %%mm0,%%mm1\n"
   125 "	movq %%mm0,%%mm1\n"
   126 "	psllq $16,%%mm0\n"
   126 "	psllq $16,%%mm0\n"
   127 "	por %%mm1,%%mm0\n"
   127 "	por %%mm1,%%mm0\n"
   128 "	psllq $16,%%mm0\n"
   128 "	psllq $16,%%mm0\n"
   129 "	por %%mm1,%%mm0\n"
   129 "	por %%mm1,%%mm0\n"