Commit a0dcf4a0 authored by Sam Lantinga's avatar Sam Lantinga

Fixed assembly alignment error on Intel Macs.

Do we really need 16-bit alignment here?

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401415
parent 550d557d
...@@ -59,7 +59,7 @@ void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume) ...@@ -59,7 +59,7 @@ void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume)
" psllq $16,%%mm0\n" " psllq $16,%%mm0\n"
" por %%mm1,%%mm0\n" // mm0 = vol|vol|vol|vol " por %%mm1,%%mm0\n" // mm0 = vol|vol|vol|vol
".align 16\n" ".align 8\n"
" .mixloopS16:\n" " .mixloopS16:\n"
" movq (%1),%%mm1\n" // mm1 = a|b|c|d " movq (%1),%%mm1\n" // mm1 = a|b|c|d
...@@ -159,7 +159,7 @@ void SDL_MixAudio_MMX_S8(char* dst,char* src,unsigned int size,int volume) ...@@ -159,7 +159,7 @@ void SDL_MixAudio_MMX_S8(char* dst,char* src,unsigned int size,int volume)
" cmp $0,%%edx\n" " cmp $0,%%edx\n"
" je .endS8\n" " je .endS8\n"
".align 16\n" ".align 8\n"
" .mixloopS8:\n" " .mixloopS8:\n"
" pxor %%mm2,%%mm2\n" // mm2 = 0 " pxor %%mm2,%%mm2\n" // mm2 = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment