diff libmpcodecs/vf_ivtc.c @ 18104:7b408d60de9e

add support for intel mac. mp3lib is not fixed yet.
author nplourde
date Sat, 15 Apr 2006 20:46:54 +0000
parents 20aca9baf5d8
children 6334c14b38eb
line wrap: on
line diff
--- a/libmpcodecs/vf_ivtc.c	Sat Apr 15 16:47:25 2006 +0000
+++ b/libmpcodecs/vf_ivtc.c	Sat Apr 15 20:46:54 2006 +0000
@@ -5,6 +5,7 @@
 #include "config.h"
 #include "mp_msg.h"
 #include "cpudetect.h"
+#include "asmalign.h"
 
 #include "img_format.h"
 #include "mp_image.h"
@@ -67,7 +68,7 @@
 		"pxor %%mm5, %%mm5 \n\t" // 4 odd difference sums
 		"pxor %%mm7, %%mm7 \n\t" // all zeros
 		
-		".balign 16 \n\t"
+		ASMALIGN16  
 		"1: \n\t"
 		
 		// Even difference
@@ -127,7 +128,7 @@
 		"pxor %%mm5, %%mm5 \n\t" // Temporal noise
 		"pxor %%mm6, %%mm6 \n\t" // Current spacial noise
 		
-		".balign 16 \n\t"
+		ASMALIGN16  
 		"2: \n\t"
 		
 		"movq (%%"REG_S"), %%mm0 \n\t"
@@ -181,7 +182,7 @@
 		"pxor %%mm5, %%mm5 \n\t"
 		"pxor %%mm6, %%mm6 \n\t"
 		
-		".balign 16 \n\t"
+		ASMALIGN16
 		"3: \n\t"
 		
 		"movq (%%"REG_S"), %%mm0 \n\t"