Fixed assembly alignment error on Intel Macs.
authorSam Lantinga <slouken@libsdl.org>
Tue, 21 Feb 2006 19:28:45 +0000
changeset 1411 efb34e597d21
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
--- a/src/audio/SDL_mixer_MMX.c	Tue Feb 21 19:27:34 2006 +0000
+++ b/src/audio/SDL_mixer_MMX.c	Tue Feb 21 19:28:45 2006 +0000
@@ -59,7 +59,7 @@
 "	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 @@
 "	cmp $0,%%edx\n"
 "	je .endS8\n"
 
-".align 16\n"
+".align 8\n"
 "	.mixloopS8:\n"
 
 "	pxor %%mm2,%%mm2\n"		// mm2 = 0