summaryrefslogtreecommitdiffstats
path: root/libswscale/x86/hscale_fast_bilinear_simd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/x86/hscale_fast_bilinear_simd.c')
-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 8184723..3954fff 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
);
OpenPOWER on IntegriCloud