diff src/audio/SDL_mixer_MMX.c @ 1411:efb34e597d21

Fixed assembly alignment error on Intel Macs. Do we really need 16-bit alignment here?
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 19:28:45 +0000
parents d910939febfa
children 97d0966f4bf7
line wrap: on
line diff
--- 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