Fixed assembly alignment error on Intel Macs.
authorSam Lantinga
Tue, 21 Feb 2006 19:28:45 +0000
changeset 1411efb34e597d21
parent 1410 93c48ff6d41f
child 1412 a8181c4040b8
Fixed assembly alignment error on Intel Macs.
Do we really need 16-bit alignment here?
src/audio/SDL_mixer_MMX.c
     1.1 --- a/src/audio/SDL_mixer_MMX.c	Tue Feb 21 19:27:34 2006 +0000
     1.2 +++ b/src/audio/SDL_mixer_MMX.c	Tue Feb 21 19:28:45 2006 +0000
     1.3 @@ -59,7 +59,7 @@
     1.4  "	psllq $16,%%mm0\n"
     1.5  "	por %%mm1,%%mm0\n"		// mm0 = vol|vol|vol|vol
     1.6  
     1.7 -".align 16\n"
     1.8 +".align 8\n"
     1.9  "	.mixloopS16:\n"
    1.10  
    1.11  "	movq (%1),%%mm1\n" // mm1 = a|b|c|d
    1.12 @@ -159,7 +159,7 @@
    1.13  "	cmp $0,%%edx\n"
    1.14  "	je .endS8\n"
    1.15  
    1.16 -".align 16\n"
    1.17 +".align 8\n"
    1.18  "	.mixloopS8:\n"
    1.19  
    1.20  "	pxor %%mm2,%%mm2\n"		// mm2 = 0