changeset 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 93c48ff6d41f
children a8181c4040b8
files src/audio/SDL_mixer_MMX.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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