diff options
Diffstat (limited to 'libmpcodecs/vf_ivtc.c')
-rw-r--r-- | libmpcodecs/vf_ivtc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libmpcodecs/vf_ivtc.c b/libmpcodecs/vf_ivtc.c index 62bc749447..50cabe0ee1 100644 --- a/libmpcodecs/vf_ivtc.c +++ b/libmpcodecs/vf_ivtc.c @@ -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 @@ static void block_diffs_MMX(struct metrics *m, unsigned char *old, unsigned char "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 @@ static void block_diffs_MMX(struct metrics *m, unsigned char *old, unsigned char "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 @@ static void block_diffs_MMX(struct metrics *m, unsigned char *old, unsigned char "pxor %%mm5, %%mm5 \n\t" "pxor %%mm6, %%mm6 \n\t" - ".balign 16 \n\t" + ASMALIGN16 "3: \n\t" "movq (%%"REG_S"), %%mm0 \n\t" |