diff options
author | wm4 <wm4@nowhere> | 2013-01-13 14:10:43 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 14:10:43 +0100 |
commit | fe6c93eab8d9f747248e297b646343414ce95442 (patch) | |
tree | 41f0bbd8ec4fb97b03361b511b39a7aa98ca51ec /video/filter/vf_ilpack.c | |
parent | ec57c94ba2333d08cad49be31ade353af46b5709 (diff) | |
download | mpv-fe6c93eab8d9f747248e297b646343414ce95442.tar.bz2 mpv-fe6c93eab8d9f747248e297b646343414ce95442.tar.xz |
configure: remove check for .align semantics
The check determined whether the argument for .align is in bytes, or
log2(bytes). Apparently it's always in bytes for ELF i386 systems, and
this check is used for x86 inline assembler only. Even if this
assumption should be wrong, it likely won't cause much damage: the
existing code uses it only in the form ".align 4", which means in the
worst case it will try to align to 16 bytes, which doesn't cause any
problems (unless the object file format does not support such a high
alignment).
Update the filters that used this.
Quoting the GNU as manual:
For other systems, including ppc, i386 using a.out format, arm and
strongarm, it is the number of low-order zero bits the location counter
must have after advancement. For example `.align 3' advances the
location counter until it a multiple of 8. If the location counter is
already a multiple of 8, no change is needed.
Diffstat (limited to 'video/filter/vf_ilpack.c')
-rw-r--r-- | video/filter/vf_ilpack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/filter/vf_ilpack.c b/video/filter/vf_ilpack.c index 05eff04f26..6519a0c512 100644 --- a/video/filter/vf_ilpack.c +++ b/video/filter/vf_ilpack.c @@ -83,7 +83,7 @@ static void pack_nn_MMX(unsigned char *dst, unsigned char *y, int av_unused us, int av_unused vs) { __asm__ volatile ("" - ASMALIGN(4) + ".align 4 \n\t" "1: \n\t" "movq (%0), %%mm1 \n\t" "movq (%0), %%mm2 \n\t" @@ -123,7 +123,7 @@ static void pack_li_0_MMX(unsigned char *dst, unsigned char *y, #endif "pxor %%mm0, %%mm0 \n\t" - ASMALIGN(4) + ".align 4 \n\t" ".Lli0: \n\t" "movq (%%"REG_S"), %%mm1 \n\t" "movq (%%"REG_S"), %%mm2 \n\t" @@ -231,7 +231,7 @@ static void pack_li_1_MMX(unsigned char *dst, unsigned char *y, #endif "pxor %%mm0, %%mm0 \n\t" - ASMALIGN(4) + ".align 4 \n\t" ".Lli1: \n\t" "movq (%%"REG_S"), %%mm1 \n\t" "movq (%%"REG_S"), %%mm2 \n\t" |