Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed assembly alignment error on Intel Macs.
Do we really need 16-bit alignment here?
  • Loading branch information
slouken committed Feb 21, 2006
1 parent 9119f75 commit 6fc499a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/audio/SDL_mixer_MMX.c
Expand Up @@ -59,7 +59,7 @@ void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume)
" psllq $16,%%mm0\n"
" por %%mm1,%%mm0\n" // mm0 = vol|vol|vol|vol

".align 16\n"
".align 8\n"
" .mixloopS16:\n"

" movq (%1),%%mm1\n" // mm1 = a|b|c|d
Expand Down Expand Up @@ -159,7 +159,7 @@ void SDL_MixAudio_MMX_S8(char* dst,char* src,unsigned int size,int volume)
" cmp $0,%%edx\n"
" je .endS8\n"

".align 16\n"
".align 8\n"
" .mixloopS8:\n"

" pxor %%mm2,%%mm2\n" // mm2 = 0
Expand Down

0 comments on commit 6fc499a

Please sign in to comment.