summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_ilpack.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-13 00:21:14 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-13 00:21:14 +0000
commitb89020afc81892ed27f2ad3da5f0dd1169621bdd (patch)
tree4cb57d6b412576aeb210a5fc23e845d6e0233cc1 /libmpcodecs/vf_ilpack.c
parent992379a376a9df9aa5b2e28a13b3a1c97568dd8b (diff)
downloadmpv-b89020afc81892ed27f2ad3da5f0dd1169621bdd.tar.bz2
mpv-b89020afc81892ed27f2ad3da5f0dd1169621bdd.tar.xz
Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_ilpack.c')
-rw-r--r--libmpcodecs/vf_ilpack.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libmpcodecs/vf_ilpack.c b/libmpcodecs/vf_ilpack.c
index 3123f9226a..f039a17548 100644
--- a/libmpcodecs/vf_ilpack.c
+++ b/libmpcodecs/vf_ilpack.c
@@ -6,7 +6,6 @@
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
-#include "asmalign.h"
#include "img_format.h"
#include "mp_image.h"
@@ -66,7 +65,7 @@ static void pack_nn_MMX(unsigned char *dst, unsigned char *y,
{
int j;
asm volatile (""
- ASMALIGN16
+ ASMALIGN(4)
"1: \n\t"
"movq (%0), %%mm1 \n\t"
"movq (%0), %%mm2 \n\t"
@@ -105,7 +104,7 @@ static void pack_li_0_MMX(unsigned char *dst, unsigned char *y,
#endif
"pxor %%mm0, %%mm0 \n\t"
- ASMALIGN16
+ ASMALIGN(4)
".Lli0: \n\t"
"movq (%%"REG_S"), %%mm1 \n\t"
"movq (%%"REG_S"), %%mm2 \n\t"
@@ -213,7 +212,7 @@ static void pack_li_1_MMX(unsigned char *dst, unsigned char *y,
#endif
"pxor %%mm0, %%mm0 \n\t"
- ASMALIGN16
+ ASMALIGN(4)
".Lli1: \n\t"
"movq (%%"REG_S"), %%mm1 \n\t"
"movq (%%"REG_S"), %%mm2 \n\t"