aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Lewycky <nlewycky@google.com>2015-05-12 18:07:57 -0700
committerMichael Niedermayer <michaelni@gmx.at>2015-05-13 11:59:12 +0200
commit48e9f68384a2af257b9ca7633bf14f0c2748edc6 (patch)
treecd38b92208b4121e12322be6f2d2fb0fe75e487f
parentce95c14cd4863aa9419472b97f5ad8dd6e02928f (diff)
downloadffmpeg-48e9f68384a2af257b9ca7633bf14f0c2748edc6.tar.gz
libswscale/x86/hscale_fast_bilinear_simd.c: Include BX in the clobber list on x86_64, because it isn't implicitly included when PIC is on.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libswscale/x86/hscale_fast_bilinear_simd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/x86/hscale_fast_bilinear_simd.c b/libswscale/x86/hscale_fast_bilinear_simd.c
index 8184723f33..3954fff27c 100644
--- a/libswscale/x86/hscale_fast_bilinear_simd.c
+++ b/libswscale/x86/hscale_fast_bilinear_simd.c
@@ -275,7 +275,7 @@ void ff_hyscale_fast_mmxext(SwsContext *c, int16_t *dst,
,"m"(retsave)
#endif
: "%"REG_a, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_D
-#if !defined(PIC)
+#if ARCH_X86_64 || !defined(PIC)
,"%"REG_b
#endif
);
@@ -359,7 +359,7 @@ void ff_hcscale_fast_mmxext(SwsContext *c, int16_t *dst1, int16_t *dst2,
,"m"(retsave)
#endif
: "%"REG_a, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_D
-#if !defined(PIC)
+#if ARCH_X86_64 || !defined(PIC)
,"%"REG_b
#endif
);