summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/pullup.c
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-15 20:46:54 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-15 20:46:54 +0000
commita3713ceb29828cce576fa3ea6f936f3ab1d61a38 (patch)
tree7c3284eed13ac128e3b5a9a56874f269d437fc1a /libmpcodecs/pullup.c
parent563dca1090f8cf7f2d683277a197ff3b6a2c3aaf (diff)
downloadmpv-a3713ceb29828cce576fa3ea6f936f3ab1d61a38.tar.bz2
mpv-a3713ceb29828cce576fa3ea6f936f3ab1d61a38.tar.xz
add support for intel mac. mp3lib is not fixed yet.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/pullup.c')
-rw-r--r--libmpcodecs/pullup.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libmpcodecs/pullup.c b/libmpcodecs/pullup.c
index df4069cc67..12bc5e739c 100644
--- a/libmpcodecs/pullup.c
+++ b/libmpcodecs/pullup.c
@@ -5,6 +5,7 @@
#include <string.h>
#include "pullup.h"
#include "config.h"
+#include "asmalign.h"
@@ -18,7 +19,7 @@ static int diff_y_mmx(unsigned char *a, unsigned char *b, int s)
"pxor %%mm4, %%mm4 \n\t"
"pxor %%mm7, %%mm7 \n\t"
- ".balign 16 \n\t"
+ ASMALIGN16
"1: \n\t"
"movq (%%esi), %%mm0 \n\t"
@@ -67,7 +68,7 @@ static int licomb_y_mmx(unsigned char *a, unsigned char *b, int s)
"pxor %%mm7, %%mm7 \n\t"
"subl %%eax, %%edi \n\t"
- ".balign 16 \n\t"
+ ASMALIGN16
"2: \n\t"
"movq (%%esi), %%mm0 \n\t"
@@ -156,7 +157,7 @@ static int var_y_mmx(unsigned char *a, unsigned char *b, int s)
"pxor %%mm4, %%mm4 \n\t"
"pxor %%mm7, %%mm7 \n\t"
- ".balign 16 \n\t"
+ ASMALIGN16
"1: \n\t"
"movq (%%esi), %%mm0 \n\t"