mirror of
https://github.com/joel16/SDL2.git
synced 2025-02-12 23:22:29 +00:00
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
This commit is contained in:
parent
550d557de5
commit
a0dcf4a00d
@ -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
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user